curl --request DELETE \
--url https://api.autosend.com/v1/domains/60d5ec49f1b2c72d9c8b1111 \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": null
}
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your API key.
Path Parameters
The id of the domain to remove.
Response
Indicates whether the domain was removed successfully.
Always null on a successful delete.
Errors
Returned when no domain with the given domainId exists in the project.
API key issued from the Autosend dashboard. Pass as Authorization: Bearer <token>.
Pattern: ^[a-f\d]{24}$
Example:"60d5ec49f1b2c72d9c8b1111"
Domain removed successfully.