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
| HTTP | K9O Code | Description |
|---|---|---|
| 200 | Success | |
| 401 | K9O_UNAUTHENTICATED | The caller is not signed in. |
| 403 | K9O_IAM_POLICY_DENIED | The caller did not mint this token and the project's ceiling denies mcp_servers.revoke_tokens (context.reason mcp_servers_revoke_tokens_deny). |
| 404 | K9O_NOT_FOUND | No 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
}
}