API ReferenceApprovals
Resolve approval
Approve or deny with the user's passkey. The admin token alone is refused.
Authorization
admin AuthorizationBearer <token>
AGENTGUARD_ADMIN_TOKEN (owner/operator)
In: header
Path Parameters
id*string
Request Body
application/json
approve*boolean
assertion*
WebAuthn assertion (navigator.credentials.get response, JSON-encoded) over the challenge returned by the matching *-request call
approver?string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/approvals/string" \ -H "Content-Type: application/json" \ -d '{ "approve": true, "assertion": {} }'{}