Generated by API Evangelist
Written by API Evangelist tooling for Cloudflare's API. It is a proposal applied on top of the contract, not a document Cloudflare publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Cloudflare Custom Hostname Fallback Origin for a Zone API
version: 1.0.0
extends: openapi/cloudflare-custom-hostname-fallback-origin-for-a-zone-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-23'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/zones/{zone_id}/custom_hostnames/fallback_origin'].get
update:
x-apievangelist-phrasing:
intent: Get the custom hostname fallback origin
effect: read
questions:
- Which origin does my custom hostname traffic fall back to when host-specific origins fail?
- Can I check the current custom hostname fallback origin for a zone?
instructions:
- text: Get the custom hostname fallback origin for zone {zone_id}.
slots:
zone_id: path.zone_id
- text: Show the fallback origin configured for custom hostnames on {zone_id}.
slots:
zone_id: path.zone_id
method: generated
generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/custom_hostnames/fallback_origin'].put
update:
x-apievangelist-phrasing:
intent: Set the custom hostname fallback origin
effect: write
questions:
- How do I change the origin that custom hostname traffic falls back to?
- Can I set a new fallback origin for custom hostnames on a zone?
instructions:
- text: Set the custom hostname fallback origin for zone {zone_id} to {origin}.
slots:
zone_id: path.zone_id
origin: requestBody.origin
- text: Update the custom hostname fallback origin on {zone_id} to {origin}.
slots:
zone_id: path.zone_id
origin: requestBody.origin
method: generated
generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/custom_hostnames/fallback_origin'].delete
update:
x-apievangelist-phrasing:
intent: Remove the custom hostname fallback origin
effect: destructive
questions:
- How do I stop custom hostname traffic from falling back to an origin?
- Can I clear the custom hostname fallback origin for a zone?
instructions:
- text: Delete the custom hostname fallback origin for zone {zone_id}.
slots:
zone_id: path.zone_id
- text: Remove the custom hostname fallback origin on {zone_id}.
slots:
zone_id: path.zone_id
method: generated
generated: '2026-11-23'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.