Content Management

Deploy Custom Domain

Mount this property's guide at {hostname}{path} on the hotel's own domain by deploying a Worker into their Cloudflare zone.

This is the one route in the program that writes to customer infrastructure, so the ordering matters: the script is uploaded and verified before any route is attached. A route pointing at a script that failed to upload would put the hotel's own traffic into a Worker that does not exist.

post/api/v1/content/properties/{property_id}/custom-domain/deploy

Path parameters

property_idstring uuid required

Request body

custom_hostnamestring required
custom_path_prefixstring nullable

Response

Successful Response

custom_hostnamestring nullable required
custom_path_prefixstring nullable required
cname_targetstring nullable required
ssl_statusstring nullable
cloudflare_configuredboolean

Changes

No recorded changes to this endpoint across all 3 revisions of this API.