Skip to Content
Xeonr Developer Docs

Revoke My Agent Grant

POST
/xeonr.auth.api.v1.McpAgentGrantsService/RevokeMyAgentGrant

Revokes one of the caller's agent grants and the product tokens exchanged from it.

Required scopes: auth:client-authorisations:revoke

Authorization

AuthorizationBearer <token>

JWT access token obtained via OAuth2 flow or service account

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

grantId?string
Match^ag_[0-9]+$
Length4 <= length <= 32
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.McpAgentGrantsService/RevokeMyAgentGrant" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{}