You can disable an API token temporarily and enable it again when required easily through the platform. Before disabling a token, note the following points:
Disabling does not delete a token but makes it inactive until it is enabled again. When a token is disabled, any attempts to access the endpoint return an error.
The Enable option is shown only if you've disabled the token previously.
Follow these steps to manage the token:
On the API tokens page, find the token you want to enable or disable.
Click the actions icon (•••) and select Enable or Disable. The following image shows the Disable option:
Alternatively, click the token name. When the details page of your selected token opens, click the down arrow and select Enable or Disable.
Confirm that you want to change the status of your token.
A message is displayed stating that the operation is successful. You can view the updated status of your token in the Status column on the API token page.