Skip to Content
Xeonr Developer Docs

Revoke Agent Grant

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

Revokes an agent grant the calling starter minted, and the product tokens exchanged from it.

Required scopes: mcp:agent-grants

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/RevokeAgentGrant" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{}