Revoke MCP Tokens

Changed on

Revoke all of a user's Supernova MCP tokens and the sign-in links created with them (see Knot Zero links).

post/mcp/tokens/revoke

Request

  • Base URL
    https://production.knotapi.com
  • URL
    https://production.knotapi.com/mcp/tokens/revoke
  • Auth
    HTTP basic

Request body

external_user_idstring required

Your unique identifier for the user.

Example request

{
  "external_user_id": "123abc"
}

Response

Successful request.

revokedinteger

The number of Supernova MCP tokens revoked. 0 if the user had no active tokens.

revoked_linksinteger

The number of sign-in links (Knot Zero links) created with those tokens that were revoked. Links you created directly are not affected.

Example response

{
  "revoked": 1
}

Changes