> For the complete documentation index, see [llms.txt](https://docs.tradestream.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tradestream.xyz/accounts/deleting-an-api-key-or-your-account.md).

# Deleting an API Key or your account

You can either:

* Delete a specific API Key
* Delete your entire account

We'll cover both here:

{% hint style="danger" %}
Deleting an API Key and deleting your account are irreversible decisions. Once you've confirmed you want to delete an API Key or your account you won't be able to recover them again.
{% endhint %}

<details>

<summary>Deleting an API Key</summary>

1. Open the account manager menu in the bottom-left corner
2. Press on the 3 dots next to the account you want to delete ![](/files/nRvYKaFkaZfY1YgxXWmv)![](/files/V9YHqJyotjX5w79TstrK)
3. Press "Delete"
4. On the pop-up press ![](/files/12aFWr81aMoHIl92zp0h)

<img src="/files/9nOca9Zi7Y5RMvckjXl6" alt="The pop-up for deleting an API Key" data-size="original">

</details>

<details>

<summary>Deleting your account</summary>

1. Open the account manager menu in the bottom-left corner
2. Press on the settings icon ![](/files/XZj0VObuloyOjdJZg1Ve)

![](/files/iH5izTEDpOwpLFaedYVS)

3. Scroll down to "Delete my account" and press ![](/files/obaT3rXD2qK57vE6ZYgv)

&#x20;![](/files/zoTapanpk4LH0GiG220G)

4. On the pop-up you'll be asked to enter the text `DELETE-ACCOUNT` to confirm you want to delete the account\
   ![](/files/iUVpu3zgyKl3kIonSQHB)
5. Press ![](/files/MI8Z2BockKoBMu5kodMe)

</details>


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tradestream.xyz/accounts/deleting-an-api-key-or-your-account.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
