DELETE
/
domains
/
{id}
curl --request DELETE \
  --url https://api.amisend.com/domains/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Domain deleted"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of the domain

Response

200
application/json

Domain deleted successfully

The response is of type object.