Skip to main content

OAuth token revocation endpoint

POST 

/oauth2/revoke

Revokes the given refresh token. Only that one token is invalidated, not the other tokens from the same login. A presented access token is accepted and ignored. Always returns 200, even if the token is unknown.

The client must identify itself (RFC 7009 §5): a confidential client via HTTP Basic base64(client_id:secret); a public client via the client_id form parameter (no secret). Neither present → 400 invalid_request; bad secret / unknown client → 401 invalid_client.

Request

Responses

The token (if any) has been revoked. Empty body.