Change delivery mode
update_hostingChange delivery mode for a NEW publication (not a site, not a non-public HTML-format page). Requires owner token; optional expectedVersion = current hostingVersion. Mismatches are reported, not rejected: a stale version still applies, and OLD links or forced subdomain modes stay unchanged; the result then carries a delivery notice. Content updates never change hosting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Resource ID | |
| type | Yes | Resource type; sites always stay on their own subdomain | |
| namespace | Yes | Resource namespace; non-public HTML-format pages stay on subdomain | |
| ownerToken | No | Owner token from create. Default: BREWPAGE_OWNER_TOKEN. | |
| deliveryMode | Yes | path = Promotion; subdomain = Dedicated subdomain | |
| expectedVersion | No | Optional current hostingVersion from the server; a stale value still applies and the result says so |