Delete sending domain
Disconnect the sending domain from the profile.
Disconnect the sending domain from the profile.
The domain record is removed, so the profile has no sending domain afterwards and campaigns cannot be sent until a domain is connected again. Sender addresses already stored on campaigns, automations and settings are left untouched and keep pointing at the removed domain. A domain that is not connected to the profile also succeeds, so success is not proof that anything was deleted. DNS records at the DNS provider are not removed. To switch domains, delete this one and connect the new one. Confirm the domain with the customer before calling.
API Token authentication
Profile uuid parameter
550e8400-e09b-41d4-a716-400055000000Sending domain to disconnect from the profile
example.comSuccess empty response
Request acceptedUnauthenticated response
Validation error response
Error response
DELETE /api/reach/v1/profiles/{profileUuid}/domains HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"domain": "example.com"
}{
"message": "Request accepted"
}Last updated
Was this helpful?