Delete a domain
Delete a domain that no endpoint uses, with its certificate.
Last updated 30 November 2026View as Markdown
Important
The certificate is deleted with the domain. To use the domain again, add it and prove it again.
Prerequisites
- Permission for
domains:DeleteDomainon the domain. In the console, alsodomains:ListDomainsto open Domains anddomains:GetDomainto open the domain. - No endpoint serves a name of the domain any more (see
Use a domain on an endpoint). Otherwise the delete is refused
with
409"… is in use (…); remove it there first", naming up to five of the names.
Delete it
- Open Domains and choose the domain.
- Choose the ⋯ menu, then Delete domain.
- Enter the domain's name and choose Delete.
dcloud domains domains delete apps.example.comDELETE /domains/api/domains/apps.example.comRemove the dcloud_domain resource from the configuration and apply.
Result
The domain is gone from Domains. Remove the _acme-challenge CNAME record at your DNS
provider: it proves nothing for anyone else, since every domain gets its own target.
Related
Did this page help you?