# Delete Whitelisted Address

<mark style="color:red;">**`DELETE`**</mark>   `https://api.sfox.com/v1/whitelisted-addresses/:address_id`

Remove a crypto address from your account's whitelisted addresses.

### Path Parameters

<table><thead><tr><th width="240">Parameter</th><th width="92">Type</th><th>Description</th></tr></thead><tbody><tr><td><strong><code>address_id</code></strong> <mark style="color:red;">required</mark></td><td>int</td><td>The address ID generated by sFOX upon adding the address to your whitelist.</td></tr></tbody></table>

### Responses

<details>

<summary><mark style="color:green;">200</mark> OK</summary>

```
{}
```

</details>

### Example Requests

{% tabs %}
{% tab title="Shell" %}

```bash
curl -X DELETE \
  -H 'Content-type: application/json' \
  -H "Authorization: Bearer ${API_TOKEN}" \
  "https://api.sfox.com/v1/whitelisted-addresses/${ADDRESS_ID}"
```

{% endtab %}

{% tab title="NodeJS" %}

```javascript
const axios = require('axios');

axios({
  method: 'delete',
  url: `https://api.sfox.com/v1/whitelisted-addresses/${ADDRESS_ID}`,
  headers: {
    'Authorization': `Bearer ${API_KEY}`
  },
}).then(response => {
  console.log(response)
}).catch(err => {
  console.error(err)
});
```

{% endtab %}

{% tab title="Python" %}

```python
import requests
import os

data = requests.delete(
  f"https://api.sfox.com/v1/whitelisted-addresses/{ADDRESS_ID}",
  headers={
    "Authorization": f"Bearer {os.environ['API_KEY']}",
  }
)
print(data.json())
```

{% endtab %}
{% endtabs %}
