> For the complete documentation index, see [llms.txt](https://docs.astroid.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.astroid.cc/get-started/deleting-your-endpoint.md).

# Deleting your endpoint

You want to delete your endpoint (bridge)? Thats sad to hear :( Do you want to give us some feedback why? -> Join our [Support Servers](/useful/support-server-list.md)

## Option 1: via the Discord bot

You can delete your endpoint via a simple command.

<mark style="color:purple;">`/delete`</mark>

<figure><img src="https://1952697942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOri2iEmZWVc3tKn8IRq%2Fuploads%2FUpKB6bKKSG6cIeaYszW2%2Fgrafik.png?alt=media&amp;token=02ff6c87-5b2a-4ece-b9bf-6d1611ae56cd" alt=""><figcaption></figcaption></figure>

After succesful deletion you should receive a message like this:

<figure><img src="https://1952697942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOri2iEmZWVc3tKn8IRq%2Fuploads%2FMuXszajY8yw9My7Utf54%2Fgrafik.png?alt=media&amp;token=ccd531d4-fe9c-4683-b22c-2fba79cad4c6" alt=""><figcaption></figcaption></figure>

## Option 2: via an API request

You can use our API sending a simple <mark style="color:purple;">`DELETE`</mark>-Request.\
For sending a request like this you could use a program like Postman (<https://www.postman.com/downloads/>, no account needed) or any other program you prefer.\
*(Note: I am using Postman in the example screenshots.)*

<details>

<summary>cURL snippet</summary>

```shell
curl --location --request DELETE 'https://astroid.cc/delete/YOUR-DISCORD-SERVER-ID?token=YOUR-TOKEN'
```

</details>

### Step 1: Set the request to <mark style="color:red;">`DELETE`</mark>

<figure><img src="https://1952697942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiOri2iEmZWVc3tKn8IRq%2Fuploads%2FWsLLyWE27cg5F6YexRs0%2Fgrafik.png?alt=media&amp;token=a2f64a5c-5b36-4352-a52e-d0948a160ad1" alt=""><figcaption></figcaption></figure>

### Step 2: Enter the API URL

Enter the following API URL and

* replace <mark style="color:yellow;">`YOUR-DISCORD-SERVER-ID`</mark> with your discord server id and
* replace <mark style="color:yellow;">`YOUR-TOKEN`</mark> with the token you got in the registering process\
  (Alternatively you can run the <mark style="color:purple;">`/generate-token`</mark> command on discord to get a new one)

```
https://api.astroid.cc/delete/YOUR-DISCORD-SERVER-ID?token=YOUR-TOKEN
```

### Step 3: Press Send

If you replaced and set everything correctly send the request. The API should respond instantly with a succesful response. E.g.:

```json
{
    "message": "Deleted."
}
```

## Option 3: Send us an E-Mail

You can also just write us an E-Mail and we do all the work for you!

### Email: [info@astroid.cc](#email-info-astroid.cc)

<details>

<summary>E-Mail template</summary>

Dear Astroid team,

i would like to delete my endpoint with the id <mark style="color:blue;">`ENDPOINT-ID`</mark>. The token is <mark style="color:blue;">`TOKEN`</mark>.

Best regards!

</details>

If you send us an E-Mail, please make sure the following information is contained:

* Stating that you would like to delete your endpoint
* Endpoint ID (usually the Discord Server ID)
* Astroid Token (You got this in the registering process or generate a new via the following discord bot command: <mark style="color:purple;">`/generate-token`</mark>)
* ***Optional**: Reason for deleting your endpoint. (We'd just like to know why, no necessity though ;) )*

## Done!

All your data is now deleted.
