Delete an account

Permanently removes the account from MailReach. The account is marked as deleted, warming and spam checks are disabled, and any running conversations are cancelled. This action cannot be undone.

Path Parameters
  • id
    Type: integerFormat: int32
    required

    The ID of the account to delete.

Query Parameters
  • disconnect_reason
    Type: string

    Optional free-form reason for the disconnection. Used internally for analytics.

Responses
  • application/json
  • application/json
  • application/json
Request Example for delete/v1/accounts/{id}
curl 'http://api.mailreach.co/api/v1/accounts/1234?disconnect_reason=Switched%20provider' \
  --request DELETE \
  --header 'X-Api-Key: YOUR_SECRET_TOKEN'
{
  "success": true
}