# How to Generate and Revoke Access Tokens in Seller Center?

From the Access Tokens page, Seller (admin) users can generate and manage access tokens applicable to their account. These tokens remain valid for a predefined duration and can be renewed as necessary.

Access tokens can be created and deleted via the **Settings**. When submitting requests, ensure to include the token within the Authorization header.

## <mark style="color:red;">**Step 1: Navigate to Access Tokens Page**</mark>

* Go to **Settings** in the main menu.
* Click on **Access Tokens**.

<figure><img src="/files/ucqAZbe6gvUCIcDBXNa2" alt=""><figcaption></figcaption></figure>

## <mark style="color:red;">**Step 2: Generate a New Access Token**</mark>

* On the Access Tokens page, click **Generate New Access Token**.

<figure><img src="/files/iPDnKHO1euFa23cRVwMc" alt=""><figcaption></figcaption></figure>

## <mark style="color:red;">**Step 3: Fill in Token Details**</mark>

* **Valid Until**: Select the expiration date for the token. After this date, the token becomes invalid.
  * You can generate a new token at any time.
  * There’s no limit to the number of tokens you can have.

{% hint style="info" %}
Add a description to help identify the purpose of the token. This is for display purposes only.
{% endhint %}

## <mark style="color:red;">**Step 4: Create the Token**</mark>

* Click **Generate** to create the token.
* Once created, the token becomes **active immediately**.

{% hint style="info" %}
Make sure to **copy and store** the token securely—you’ll need to include it in the **Authorization** header of your API requests.
{% endhint %}

<figure><img src="/files/KQc3uwjlKNzCNF8ErmQK" alt=""><figcaption></figcaption></figure>

## <mark style="color:red;">**Step 5: Review Existing Tokens**</mark>

Each token appears in a table with the following columns:**​**

* Key (string): The token. Click the copy icon to copy the text value of the token.
* Note (text): User-provided description of the token.
* Status (boolean): Current status of the token:
  * Active: Token is active and can be used for access.
  * Expired: Token has expired after its expiration timestamp has been reached.
* Valid Until (date (YYYY-MM-DD HH:MM): Timestamp for when the token expires.
* Revoke (radio button): Click to revoke the token. Confirm the action in the prompt that appears.

## <mark style="color:red;">**Step 6: Revoke a Token (If Needed)**</mark>

* To revoke a token, click **Revoke** next to the token you want to deactivate.
* Confirm the action in the prompt.

<figure><img src="/files/rABJH5nC0pj6hghaIdy8" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="warning" %}
Revoking a token is irreversible and sets its expiration to the current time. Any APIs using the token will stop working immediately.
{% endhint %}

* On the Access Tokens table see the initial record that is revoked after the action.

<figure><img src="/files/rSUQt8GCTNBEp878ioBS" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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.akinon.com/tutorials/seller-center/seller/settings/how-to-generate-and-revoke-access-tokens-in-seller-center.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.
