Domains
Remove a custom domain from a site
Disconnects the hostname and, for an external one, deletes its Cloudflare custom hostname and frees its slot. The site stops answering on that host. DNS records at the user's provider are not touched. Needs the site owner. Editors, viewers, guest tokens (guest_requires_account) and keys scoped to other sites are refused.
delete/api/v1/sites/{slug}/custom-domains/{host}
Request
- Base URL: https://api.dotsy.ai
- URL: https://api.dotsy.ai/api/v1/sites/{slug}/custom-domains/{host}
- Auth: HTTP bearer
Path parameters
slugstring required
Example:acme-studio
Site slug or site id (UUID). An old slug answers 301/308 and a site id 307 to the canonical slug path.
hoststring required
Example:www.example.com
The hostname, e.g. www.example.com. Case-insensitive.
Response
Removed.
Changes
No recorded changes to this operation across all 1 revision of this API.