DELETE
/
v2
/
accounts
/
{account_id}
/
domains
/
{domain}
Delete Domain
curl --request DELETE \
  --url https://api.ahasend.com/v2/accounts/{account_id}/domains/{domain} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Operation completed successfully"
}

Authorizations

Authorization
string
header
required

API key for authentication

Path Parameters

account_id
string<uuid>
required

Account ID

domain
string
required

Domain name

Response

200
application/json

Domain deleted successfully

The response is of type object.