labbench tokens | All commands

labbench tokens revoke

Revoke one of your API tokens (needs a signed-in session)

Revoke one of the signed-in account's API tokens; it stops working at once and cannot be restored. `tokens list` shows the ids. Another account's token, or an unknown id, is refused with token_not_found. --confirm is required. Needs a signed-in session (labbench login); an API token cannot revoke tokens, and the command says so without sending a request.

Usage

labbench tokens revoke TOKEN_ID [flags]

Example

labbench tokens revoke TOKEN_ID

Flags

FlagTypeDefaultDescription
--confirmboolfalseconfirm revoking the token

Every command also accepts the global flags.