โ† API reference
Mutation / admin

revokeBotAPIToken

Revoke an API token belonging to a bot user. Fails if the token's owner is not a bot. Requires apitoken:revoke permission.

Arguments

API token ID to revoke

Returns RevokeAPITokenPayload!

Scalar fields at a glance

successBoolean!
โ†— View the complete RevokeAPITokenPayload type

Explore in a view

Administration and IAM
View exact SDL
"""
Revoke an API token belonging to a bot user. Fails if the token's owner is not a bot. Requires apitoken:revoke permission.
"""
revokeBotAPIToken(
  """API token ID to revoke"""
  id: APITokenID!
): RevokeAPITokenPayload! @topic(names: ["admin"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.