user
oauth-server

Revoke OAuth grant

Changed on

Revokes the user's OAuth grant for a specific client. This will: - Mark the consent as revoked - Delete all active sessions associated with this OAuth client - Invalidate all refresh tokens for those sessions Only available when OAuth server is enabled.

delete/user/oauth/grants

Request

  • Base URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1
  • URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1/user/oauth/grants
  • Auth
    API key in header apikey and HTTP bearer

Query parameters

client_idstring uuid required

The OAuth client identifier

Response

Grant successfully revoked

Changes