cURL
curl -X DELETE "https://api.sendpost.io/api/v1/subaccount/domain/<domain_id>" \ -H "accept: application/json" \ -H "X-SubAccount-ApiKey: <subaccount_api_key>"
{ "id": 123, "message": "<string>" }
Delete a specific domain using its id.
id
This api key can be used only for sub account level operations
The unique ID of the domain to delete.
Successful response
The response is of type object.
object