Skip to Content
bpms.ai
ReferenceMcp

Revoke one of the caller's MCP access tokens

DELETE
/api/v1/mcp/access-tokens/{id}

Revokes one open MCP access token of the caller; from the next request /mcp answers it with 401 as any invalid token. Every other session of the caller, REST and MCP, is left as it is. Each attempt is written to the audit log as mcp.access-token.revoke.

Authorization

bearer
headerAuthorizationBearer <token>

The token of a session that createSession opened

Path Parameters

id*integer

Id of the MCP access token

Formatint64

Response Body

The MCP access token is revoked

Example Request
curl -X DELETE 'https://bpms.bpms.work/api/v1/mcp/access-tokens/0'
Example Response
Empty