Skip to main content

revokeOrgToken

Permanently deactivates an org token so it can no longer authenticate. Requires the 'manage_tokens' permission on the token's org (super admins bypass). DESTRUCTIVE and irreversible; the secret cannot be reactivated. Returns false if the token does not exist.

revokeOrgToken(
orgTokenId: BigInt!
idempotencyKey: String
): Boolean!

Arguments

revokeOrgToken.orgTokenId ● BigInt! non-null scalar

Org token id (BigInt as string).

revokeOrgToken.idempotencyKey ● String scalar

Optional idempotency key. Recommended for retries: replaying with the same key and identical arguments returns the first result instead of re-applying; the same key with different arguments returns IDEMPOTENCY_CONFLICT. Keys expire after 24h.

Type

Boolean scalar

The Boolean scalar type represents true or false.