# Disconnect an account

> Permanently disconnects and removes the account, including its warmup history. For a Warmerly-hosted mailbox it also suspends the mail account on Warmerly's…

Source: https://warmerly.com/docs/accounts/disconnect-an-account

```text
DELETE /accounts/{id}
```

Permanently disconnects and removes the account, including its warmup history. For a Warmerly-hosted mailbox it also suspends the mail account on Warmerly's mail server. An optional JSON body can carry `reason` and `note` (strings), which are recorded for the audit log.

```bash
curl -X DELETE https://app.warmerly.com/api/v1/accounts/3a6f9e2e-4b7a-4e9a-9b1d-6e3a2f8c1a10 \
  -H "X-Api-Key: wmv_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
```

```json
{ "ok": true }
```

Returns `404` if the account doesn't exist.

## More from Accounts

- [Update an account](https://warmerly.com/docs/accounts/update-an-account): Updates settings on an existing account. Only send the fields you want to change. A few of the most commonly…
- [Connect several accounts at once](https://warmerly.com/docs/accounts/connect-several-accounts-at-once): Requires X-Project-Id and a plan that includes the email channel (403 channelnotincluded otherwise). Takes {…
- [Check settings before you connect](https://warmerly.com/docs/accounts/check-settings-before-you-connect): detect takes { "email": "you@yourdomain.com" } (3 to 320 characters) and returns { "detection": { … } }:…
