# Edit license

All Gunbot licenses use an API slot system. This allows you to update your registered API keys anytime or switch between different supported exchanges.

Manage your API slots on [**Profile** ](http://localhost:5000/profile)**> Edit license**.

{% hint style="info" %}
**Make sure you are actively running at least one pair when trying to edit your license.**

For security reasons you will not see the option to edit your license when it's not actively running on an already registered API key.
{% endhint %}

![Use this page to change which API keys you can use for trading](/files/-MOpcysYGNiLwKEu44p_)

## Register a new API key

On the **Edit license** page you can see how many API slots your license has, and enter up to this number of API keys to be registered for use.

To register a new key, follow these steps:

* **Make sure to have an active trading pair running**, without errors, on an already registered API key
* Go to the **Edit license** page, select the exchange, enter your key and save the changes.
* Refresh the page in case you don't see the form to update your keys.

After registering a key, you can use it as Master Key in your exchange settings.

if you've lost access to your last working API key, contact your reseller to update the registered key.

{% hint style="info" %}
If you regularly switch between exchange accounts, it's easiest to leave your exchange API details in the exchange section for every exchange you plan to use.

Then when you want to switch, just copy the master key from there and enter it on the Swap Licensed exchanges page.
{% endhint %}


---

# 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://gunthy.gitbook.io/wiki/setup-and-general-settings/profile-settings/edit-license.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.
