Skip to main content
POST
/
api
/
v1
/
auth
/
mcp
/
revoke
Revoke MCP OAuth Token
curl --request POST \
  --url https://api.neus.network/api/v1/auth/mcp/revoke \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'token=<string>' \
  --data 'client_id=<string>'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "type": "<string>",
    "details": "<unknown>"
  },
  "timestamp": "2023-11-07T05:31:56Z",
  "requestId": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.neus.network/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/x-www-form-urlencoded

Revoke an MCP OAuth token. Invalidates the access token and all associated refresh tokens for the subject-client pair.

token
string
required

Access token or refresh token to revoke.

token_type_hint
enum<string>
Available options:
access_token,
refresh_token
client_id
string

Response

Token revoked (or already inactive)