Revoke one Agent consent record owned by the current Admin.
DELETE
/api/admin/me/agent-consents/{id}
Code sample: Shell / cURL
curl --request DELETE \ --url https://auth.example.com/api/admin/me/agent-consents/example \ --header 'Authorization: Bearer <token>'Delegation withdrawal suspends the Grant. OAuth client withdrawal leaves the Grant active and revokes only that client consent and token families. Both paths synchronously commit an outbox record and audit evidence.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”Consent revoked.
Media type application/json
object
consent_id
required
string
consent_type
required
string
grant_status
required
string
token_families_pending_revocation
required
integer
key
additional properties
Example
{ "consent_type": "delegation", "grant_status": "active"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}