Skip to main content
DELETE/mcp/tokens/{jti}

Revoke MCP Token

Revokes an MCP token by its jti.

The MCP endpoint refuses it from then on.

A token that isn't this project's answers 404.

Parameters
jti *path
projectSlug *path

The project's slug: the path segment after @.

It is unique within the org.

Responses
HTTPK9O CodeDescription
200Success
401K9O_UNAUTHENTICATEDThe caller is not signed in.
403K9O_IAM_POLICY_DENIEDThe caller did not mint this token and the project's ceiling denies mcp_servers.revoke_tokens (context.reason mcp_servers_revoke_tokens_deny).
404K9O_NOT_FOUNDNo such MCP token on this project; an end user, a delegated agent, a sandbox caller or a non-member reads the same.
Response body (200)
data *object
tokenId *string

The revoked token's id.

revoked *true

Always true.

parkedCallsRefused *integer

How many calls made with this token that were held for approval and had not started were refused.

A call already running is stopped at its next check.

meta *any
cURL
curl -X DELETE 'https://<org>.api-<region>.k9o.io/@storefront/mcp/tokens/<jti>' \
  -H 'Authorization: Bearer $K9O_TOKEN'

Showing example in cURL

Response example (200)
{
  "data": {
    "tokenId": "string",
    "revoked": true,
    "parkedCallsRefused": 0
  }
}

More in MCP