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

Unlink domain from website

Unlinks a domain from the specified Agency Plan website.

Unlink domain from website

delete

Unlinks a domain from the specified Agency Plan website.

The website stops serving traffic on this domain immediately.

Website files and database are preserved, and any other linked domains remain accessible.

If this is the only domain on the website, unlinking leaves the website without an accessible domain.

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
website_uidstringRequired

Agency Plan website UID

Example: zpwlGlp19
domainstringRequired

Domain name

Example: mydomain.tld
Responses
200

Success empty response

application/json
messagestringOptionalExample: Request accepted
delete/api/agency-hosting/v1/websites/{website_uid}/domains/{domain}
DELETE /api/agency-hosting/v1/websites/{website_uid}/domains/{domain} HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "message": "Request accepted"
}

Last updated

Was this helpful?