# Managing Delegates

Adding, removing & renaming existing delegates is a simple task. Let's start by adding a delegate to an existing Smart Margin account.

**Adding a New Delegate:**

* **Step 1:** In the manage modal in the Delegation section, you'll find two sub-tabs, **Delegated To & Delegated From**. Select Delegated To, and in the input field, enter the wallet address you want to delegate trade rights to; once a wallet address has been entered, push through the onchain transaction.

{% hint style="info" %}
ENS names are an accepted input and will automatically convert to its resolver address
{% endhint %}

<figure><img src="/files/UjG9OdCrfciCmGpIAf2y" alt=""><figcaption><p>Enter a Wallet Address</p></figcaption></figure>

* **Step 2:** Assigning a nickname. The last step in creating a new delegate is to attach a nickname for personal references.

{% hint style="info" %}
**Pro Tip:** Custom names are stored in local browser storage, thus will be cleared if users reset their browser cache
{% endhint %}

<figure><img src="/files/upORDdA6buXmSUdLPLg9" alt=""><figcaption><p>Optional NIck Name</p></figcaption></figure>

* **Step 3:** Complete. Once these steps are complete, you'll see the newly assigned delegate within the "Delegated To" tab in the delegation modal.

<figure><img src="/files/dhtCWLTMCnX3dsOBf11k" alt=""><figcaption><p>Sucessfully added a Delegate</p></figcaption></figure>

**Removing a Delegate:**

Removing a delegate is a painless task. Smart margin account owners can remove delegated access rights at a moment's notice. This can be completed by visiting the delegation setting module and finding the wallet address that needs to be removed. Once located the removal option can be found under the three dots.

<figure><img src="/files/AnbJb0UJS9n92UxXo6nR" alt=""><figcaption><p>Select Remove and push the transaction onchain</p></figcaption></figure>

**Renaming Delegates:**

Did you make a mistake naming your delegate? Renaming can be accessed under the same options tab traders use to remove/delete existing delegates.


---

# 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.kwenta.io/using-kwenta/perpetual-futures/delegation/managing-delegates.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.
