strazactl api-token revoke
Revoke an admin API token by its name or its id
On this page
Synopsis
Revokes one admin API token, and its next request is refused. Pass the name the console shows under Settings, API tokens, or the id strazactl api-token list prints. An argument in the form of an id is taken as an id. Revoking by name reads the token list first, so it needs tokens:read as well as tokens:write.
strazactl api-token revoke <name-or-id> [flags]
Options inherited from parent commands
--server string strazad base URL (overrides $STRAZA_SERVER)
See also
- strazactl api-token: Manage long-lived admin API tokens, the one credential for automation, connectors and an identity manager’s SCIM push