Delete a custom domain
dropthis_domains_deleteDisconnect a custom domain: detach its routes so the hostname stops serving drops, while keeping the drops intact. Requires explicit confirmation.
Instructions
Disconnect a custom domain: the hostname stops serving drops and its routes are removed (the drops themselves are NOT deleted). Destructive; requires confirm: true. Afterwards, remove your DNS record for the hostname — while your CNAME still points at dropthis, the hostname could be re-connected by another dropthis account (the response repeats this dangling-CNAME warning with the exact record). If the domain was the publish default, new publishes revert to the shared pool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The `dom_…` id or the hostname of the domain to disconnect. | |
| confirm | Yes | Must be true to delete. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| deleted | No | ||
| warning | No | ||
| hostname | No |