Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Delete sending domain

Disconnect the sending domain from the profile.

Delete sending domain

delete

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.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
profileUuidstringRequired

Profile uuid parameter

Example: 550e8400-e09b-41d4-a716-400055000000
Body

Sending domain to disconnect from the profile

domainstring · max: 255RequiredExample: example.com
Responses
200

Success empty response

application/json
messagestringOptionalExample: Request accepted
delete/api/reach/v1/profiles/{profileUuid}/domains
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?