Skip to main content

revokeAccessToken

Revoke an access token.

The token immediately stops working for all API requests. The token record is preserved with a revokedAt timestamp for audit purposes. Revoking an already-revoked or expired token is a no-op that returns the existing record.

revokeAccessToken(
organizationId: ID!
id: ID!
): AccessTokenPayload

Arguments

revokeAccessToken.organizationId ● ID! non-null scalar {#organization-id}

Your organization's unique identifier.

revokeAccessToken.id ● ID! non-null scalar {#id}

The access token's unique identifier.

Type

AccessTokenPayload object