Update a custom domain
dropthis_domains_updateUpdate domain routing to repoint dedicated domains to different drops or set/clear default publish targets for path domains.
Instructions
Repoint a DEDICATED custom domain to a different drop (drop_id), or set/clear a PATH domain as the account's default publish target (default). Changes ROUTING only — to change the CONTENT of the page a domain serves, use dropthis_update_content on the drop, NOT this tool. Mode is immutable: delete and reconnect to change it. Takes the dom_… id or the hostname.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The `dom_…` id or the hostname of the domain to update. | |
| default | No | Path domains only (must be live): true makes this the account's default publish target; false clears it. | |
| drop_id | No | Dedicated domains only: the `drop_…` id of the drop the hostname should serve (repoints the domain). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| dns | No | ||
| mode | No | ||
| next | No | ||
| dropId | No | ||
| status | No | ||
| default | No | ||
| hostname | No | ||
| consoleUrl | No | ||
| retryAfter | No | ||
| verifiedAt | No | ||
| failureReason | No |