Skip to main content

Revoke OAuth 2.0 Access or Refresh Token

Revokes an OAuth 2.0 access or refresh token so it can no longer be used. Revoking a refresh token also invalidates the access token that was created with it. A token may only be revoked by the client it was generated for.

Authenticate confidential clients with HTTP Basic authentication. Clients configured for form-body authentication may instead include both client_id and client_secret in the request body.

Request Body required
    client_id string

    The client identifier. Include this when client credentials are not sent using HTTP Basic authentication.

    client_secret string

    The client secret. Include this for confidential clients when credentials are not sent using HTTP Basic authentication.

    token string required

    The OAuth 2.0 access token or refresh token to revoke.

Responses

Token revoked successfully. The response body is empty.

Loading...