v1

latestOpenAPI 3.0.02026-07-22243670.8 KB
OAuth

Revoke token

Revokes an access or refresh token.

post/oauth/revoke

Request body

client_idstring

The client identifier.

client_secretstring

The client secret.

tokenstring required

The token to revoke.

Example request

{
  "client_id": "550e8400-e29b-41d4-a716-446655440000",
  "client_secret": "my-client-secret",
  "token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."
}

Response

Token revoked successfully.