Skip to Content
Anuma SDKClientInternalFunctionspostOauthRevoke

postOauthRevoke

postOauthRevoke<ThrowOnError>(options?: Options<PostOauthRevokeData, ThrowOnError>): RequestResult<PostOauthRevokeResponses, PostOauthRevokeErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:1542 

OAuth 2.0 token revocation (RFC 7009)

Revokes a refresh token, or (with token_type_hint=grant) the entire grant. Always returns 200 per RFC 7009 when the client is authenticated.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options?

Options<PostOauthRevokeData, ThrowOnError>

Returns

RequestResult<PostOauthRevokeResponses, PostOauthRevokeErrors, ThrowOnError>

Last updated on