Rename the platform subdomain
Moves the website to <label>.<platform domain>, the free address every website is allocated at creation. label is just the leading part: 1-40 characters, lowercase letters, digits, and inner hyphens, and it may not be one of the labels Cactal reserves. The change takes effect immediately, on published and draft hosts alike. The previous hostname is released at the same moment, with no redirect and no grace period, so any existing links to it break and another website may claim it. Take care on a published site. Fails with 409 when the label is already taken by another website; renaming to the label the website already has is a no-op. Custom domains are unaffected, and if one of them is primary it stays the canonical address.
Request
- Base URL: https://api.cactal.ai/v1
- URL: https://api.cactal.ai/v1/websites/{websiteId}/domains/platform/rename
- Auth: HTTP bearer
Path parameters
Request body
Response
The platform subdomain at its new hostname, plus previousHostname: the address that was just released.
Changes
No recorded changes to this operation across all 1 revision of this API.