Skip to content
Search
Search the documentation
OAuthRevokeRequestBody
GitHub GitHub

OAuthRevokeRequestBody

Interface: OAuthRevokeRequestBody

Defined in: v1/types/oauth.ts:205

Request body for revoking an OAuth authorization by its refresh token. Revokes the whole authorization and every access token issued for it.

  • POST /v1/oauth2/revoke

Properties

client_id

client_id: string

Defined in: v1/types/oauth.ts:217

Your OAuth app’s client ID.


client_secret

client_secret: string

Defined in: v1/types/oauth.ts:221

Your OAuth app’s client secret.


token

token: string

Defined in: v1/types/oauth.ts:209

The refresh token identifying the authorization to revoke.


token_type_hint?

optional token_type_hint?: "refresh_token"

Defined in: v1/types/oauth.ts:213

Accepted for compatibility with RFC 7009. Must be refresh_token when present.