cURL
curl --request DELETE \ --url https://api.amisend.com/domains/{id} \ --header 'Authorization: Bearer <token>'
{ "message": "Domain deleted" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the domain
Domain deleted successfully
The response is of type object.
object