Skip to main content

Disable Access Token

Disable a personal access token without deleting it, so that it can be re-enabled later.

Disabling is intended to be temporary. If the token will not be enabled again, delete it instead.

Syntax

disable access token <token id>

Parameters

token id

UUID — The ID of the token to disable, as shown by List Access Tokens.

Security

For your own tokens, requires the AccessToken permission on the organization. Organization administrators also qualify — Admin satisfies the same check.

For a service account's tokens, organization administrator is required instead. The AccessToken permission alone does not grant it.