โ† API reference
Mutation / admin

revokeAPIToken

Revoke an API token. 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. Requires apitoken:revoke permission."""
revokeAPIToken(
  """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.