> 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

Manage your 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="https://content.gitbook.com/content/Z5DNbniz33mXCZoO62Rm/blobs/NsktILvKyX6jAS16lCCL/image.png" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
