Skip to content
Search
Search the documentation
OAuthRevokeRequestBodySchema
GitHub GitHub

OAuthRevokeRequestBodySchema

Variable: OAuthRevokeRequestBodySchema

const OAuthRevokeRequestBodySchema: ZodMiniObject<{ client_id: ZodMiniString<string>; client_secret: ZodMiniString<string>; token: ZodMiniString<string>; token_type_hint: ZodMiniOptional<ZodMiniLiteral<"refresh_token">>; }, $strip>

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

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