Remove a sending domain from your account using the AutoSend API.
curl --request DELETE \
--url https://api.autosend.com/v1/domains/60d5ec49f1b2c72d9c8b1111 \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": null
}
curl --request DELETE \
--url https://api.autosend.com/v1/domains/60d5ec49f1b2c72d9c8b1111 \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": null
}
Bearer <token>, where <token> is your API key.null on a successful delete.domainId exists in the project.API key issued from the Autosend dashboard. Pass as Authorization: Bearer <token>.
The id of the domain.
^[a-f\d]{24}$"60d5ec49f1b2c72d9c8b1111"
curl --request DELETE \
--url https://api.autosend.com/v1/domains/60d5ec49f1b2c72d9c8b1111 \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": null
}