session

OAuth2 Token Revocation (RFC 7009)

Changed on

Revoke an access token or refresh token.

post/oauth2/revoke

Request

  • Base URL
    https://{subdomain}.auth.{region}.nhost.run/v1
  • URL
    https://{subdomain}.auth.{region}.nhost.run/v1/oauth2/revoke
  • Auth
    none declared

Request body application/x-www-form-urlencoded

tokenstring required
token_type_hint'access_token' | 'refresh_token' nullable
client_idstring nullable
client_secretstring nullable

Response

Token successfully revoked (or was already invalid)

Changes