delete_custom_hostname
Delete a custom hostname from Cloudflare by providing its ID and zone ID. Requires explicit confirmation to execute; without confirmation, returns a preview of the action.
Instructions
Delete a custom hostname by ID. Requires confirm:true (human-approval gate); without it returns a preview only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | The Cloudflare zone ID (32-char hex). Get it from list_zones. | |
| custom_hostname_id | Yes | Custom hostname ID (from list_custom_hostnames). | |
| confirm | No | Human-approval gate: must be true to actually perform this mutating operation. Omit or set false to get a non-executing preview of what would happen (with secrets redacted). A human should approve before this is set to true. |