> For the complete documentation index, see [llms.txt](https://ajaib.gitbook.io/ajaib-exchange-open-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajaib.gitbook.io/ajaib-exchange-open-api/api-references/capital/revoke-withdraw-whitelisted-address-v2.md).

# Revoke Withdraw Whitelisted Address v2

`DELETE` `/v2/capital/withdraw/address`

**Functionality:** Revoke whitelisted addresses for withdrawal.

**Authentication:** Required

#### URL Parameters

<table><thead><tr><th>Parameter</th><th width="128.87109375">Type</th><th>Mandatory</th><th>Description</th></tr></thead><tbody><tr><td>network</td><td>string</td><td><ul class="contains-task-list"><li><input type="checkbox" checked></li></ul></td><td>The blockchain network used for the transaction (e.g., "XRP_BSC").</td></tr><tr><td>address</td><td>string</td><td><ul class="contains-task-list"><li><input type="checkbox" checked></li></ul></td><td>The withdrawal address for the specified network.</td></tr><tr><td>addressTag</td><td>string</td><td><ul class="contains-task-list"><li><input type="checkbox" checked></li></ul></td><td><p>Extra information required for certain networks (e.g., memo, destination tag).<br><br><strong>Note</strong> </p><p>Refer to network's <code>sameAddress</code> in <a data-mention href="/ajaib-exchange-open-api/api-references/capital/all-coins-information.md">All Coins Information</a>.</p><ul><li>if <code>sameAddress</code> is <code>true</code>, then <code>addressTag</code> is mandatory</li><li>if <code>sameAddress</code> is <code>false</code>, then <code>addressTag</code> must be NULL (must not send empty string)</li></ul></td></tr><tr><td>recvWindow</td><td>long</td><td><ul class="contains-task-list"><li><input type="checkbox"></li></ul></td><td>Number of milliseconds after timestamp the request is valid for. Refer to <a data-mention href="/ajaib-exchange-open-api/getting-started/timing-security.md">Timing Security</a>.</td></tr><tr><td>timestamp</td><td>long</td><td><ul class="contains-task-list"><li><input type="checkbox" checked></li></ul></td><td>Timestamp when client sends the request.</td></tr></tbody></table>

#### Response Body

<table><thead><tr><th>Name</th><th width="170">Type</th><th>Description</th></tr></thead><tbody><tr><td>message</td><td>string</td><td>The revoke operation confirmation.</td></tr></tbody></table>

#### Error code

| Code   | Message                                                                                       |
| ------ | --------------------------------------------------------------------------------------------- |
| -1000  | An unknown error occurred while processing the request.                                       |
| -1004  | Server is busy, please wait and try again.                                                    |
| -1006  | An unexpected response was received from the message bus. Execution status unknown.           |
| -1021  | Missing timestamp.                                                                            |
| -1021  | timestamp 1744965768000 is outside of the allowed time window \[1744965893139-1744965899139]. |
| -1021  | recvWindow cannot be more than 5000 milliseconds or be less than zero.                        |
| -1102  | A mandatory parameter was blank, empty, or malformed.                                         |
| -1130  | Invalid network.                                                                              |
| -1130  | Invalid address.                                                                              |
| -1099  | Exchange user account not found.                                                              |
| -1099  | Exchange address not found.                                                                   |
| -10001 | The system is under maintenance, please try again later.                                      |

{% tabs %}
{% tab title="200 OK" %}

{% endtab %}

{% tab title="401 Unauthorized" %}

```json
{
  "code": -1002,
  "msg": "Unauthorized"
}
```

{% endtab %}
{% endtabs %}
