Assign or clear the page’s custom domain
partner:pages:manageFull replacement; send an empty assignment to clear it. Applies immediately, as the domain is part of the live route.
AuthorizationBearer <token>WorkOS access token (JWT) for a user who is a member of the partner organization. The organization the request is scoped to is taken from the token, not from a header or query parameter.
Only a JWT is accepted in this header. A Journey jny_ API key sent as a bearer token is rejected
with 401 Invalid or expired token; send it in X-API-Key instead.
WorkOS organization API keys are not accepted yet.
pageGroupId*stringExternal id of the page group.
organizationId?stringGlobal (Journey staff) callers name the organization they act within.
length <= 100state?stringWhich revision. Required when a page has both a draft and a published revision; otherwise the only revision is used.
"draft""archived""published"application/json- body
customDomainExternalId?|length <= 100The page’s domain assignment.
curl -X PUT 'https://api-prd.cf.journey.com/v1/partner/pages/string/custom-domain' \ -H 'Content-Type: application/json' \ -d '{}'