# Edit a Key

**Edit a Key** is a feature in the **Deka GPU Service Portal** that allows you to update an existing **Key**. If you have not created a **Key** yet, you can follow [**Create a New Key**](/deka-llm/detail-deka-llm/keys-tab/create-a-new-key.md) **sub-section** . On the **Keys Tab** page, click the **Edit** button.

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

The **Edit Key** window will appear, where you can only update the **Model, Max Coins, and Expired Date**  fields.&#x20;

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

You can add the model you want to use, if you want to use different model, follow the steps in the [Update Model](/deka-llm/detail-deka-llm/update-models.md) section. &#x20;

<figure><img src="/files/5j3ODhYqbNGNsXlaKkuu" alt=""><figcaption></figcaption></figure>

You can update the maximum number of coins to be used.

{% hint style="success" %}
To check your remaining coin balance, refer to the [Overview Tab](/deka-llm/detail-deka-llm/overview-tab.md). If you want to add more coins, follow the steps in the [Top Up Coin](/deka-llm/detail-deka-llm/top-up-coin.md).&#x20;
{% endhint %}

{% hint style="warning" %}
Make sure not to enter an amount that exceeds your available coin balance.
{% endhint %}

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

You can update the expiration date of the key by clicking the **Expired Date** field.

<figure><img src="/files/9xuDV9Vhj8y1vXGDT5RA" alt=""><figcaption></figcaption></figure>

Select the date when the key should expire. Click the **Select** button to save the chosen expiration date or click the **Cancel** button to return to the **Edit Key** window.

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

Click the **Update** button to save the changes you have made.

<figure><img src="/files/15qwznQZvsd6xy1zYBDd" alt=""><figcaption></figcaption></figure>

After you update, a notification will appear saying "Key has been successfully updated".

<figure><img src="/files/TrgU2QsFctDWWweZl89C" 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.cloudeka.ai/deka-llm/detail-deka-llm/keys-tab/edit-a-key.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.
