Platform & adminMu Mutation

revokeBotAPIToken

Topics: Admin

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

Returns

RevokeAPITokenPayload!

Arguments

id

APITokenID!Required

API token ID to revoke

Exact field 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"])

Declared on Mutation. Access is checked by the platform for each operation.