Agency Hosting: Domains
Change Agency Plan 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"
}