DELETE
/
subaccount
/
domain
/
{domain_id}
shell
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>"
}

Authorizations

X-SubAccount-ApiKey
string
header
required

This api key can be used only for sub account level operations

Path Parameters

domain_id
string
required

The unique ID of the domain to delete.

Response

200 - application/json

Successful response

The response is of type object.