Enable or disable an API token. The primary use case is disabling a token you suspect may be compromised without permanently deleting it.
enabled state of a token. Disabling a token immediately prevents it from being used for API calls while preserving its record for audit purposes. This is preferable to deletion when you want to retain a history of all tokens ever issued.
A disabled token will return 401 Unauthorized on any API request that uses it.
false to immediately invalidate the token. Set back to true to re-enable it.