Agency Hosting: Domains
Change website domain
Changes the primary domain for an Agency Plan website.
Provide the current domain in the path and the new domain in the request body. Set domain to null to revert to the temporary domain.
put/api/agency-hosting/v1/websites/{website_uid}/domains/{from_domain}
Path parameters
website_uidstring required
Example:zpwlGlp19
Agency Plan website UID
from_domainstring required
Example:old.example.com
Current domain name to change from
Request body
Example request
{
"domain": "new.example.com"
}Response
Success empty response
Example response
{
"message": "Request accepted"
}Changes
Changed in 3 of the 94 revisions of this API.12
- ○
api operation id
agency-hosting_changeAgencyPlanWebsiteDomainV1removed and replaced withagency-hosting_changeWebsiteDomainV1api-operation-id-removed
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 124 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲