Platform & adminMu Mutation

revokeAPIToken

Topics: Admin

Revoke an API token. Requires apitoken:revoke permission.

Returns

RevokeAPITokenPayload!

Arguments

id

APITokenID!Required

API token ID to revoke

Exact field SDL
"""Revoke an API token. Requires apitoken:revoke permission."""
revokeAPIToken(
  """API token ID to revoke"""
  id: APITokenID!
): RevokeAPITokenPayload! @topic(names: ["admin"])

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