> For the complete documentation index, see [llms.txt](https://docs.platform.softwareone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.platform.softwareone.com/modules-and-features/settings/api-tokens/enable-or-disable-api-token.md).

# Enable or disable API token

You can temporarily disable an API token and enable it again when needed.

Before disabling a token, note the following points:

* Disabling a token doesn't delete it. The token becomes inactive until you enable it again.&#x20;
* When a token is disabled, any attempts to access the endpoint return an error.&#x20;
* The **Enable** option appears only when the token is currently disabled.

### Enable or disable a token

To enable or disable a token:

1. Go to **Settings** > **API tokens**.&#x20;
2. Find the token you want to manage.&#x20;
3. Do one of the following:
   * Select the actions icon (**•••**) and choose **Enable** or **Disable**.&#x20;
   * Select the token to open the details page. Then, select the dropdown arrow <i class="fa-chevron-down">:chevron-down:</i>, and choose **Enable** or **Disable**. The following image shows the **Disable** option:

<div data-with-frame="true"><figure><img src="/files/usbPUjqrcRvZHMgY4J1E" alt=""><figcaption><p>Use the <strong>Actions</strong> icon to enable or disable a token.</p></figcaption></figure></div>

4. In the confirmation dialog, confirm the action.

A message appears confirming that the operation was successful. The **API tokens** page updates to show the token’s new status.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.platform.softwareone.com/modules-and-features/settings/api-tokens/enable-or-disable-api-token.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
