Moves the site to .atelier201.page. The address must be free. The previous one redirects here for 30 days (visitors keep their links) and only this site can take it back meanwhile. Existing preview links keep working. A live site whose main address this is gets a rebuild; publish it to finish. No credits.
The previous address redirects for 30 days, and only this site can take it back meanwhile. Canonical links and the sitemap are written at build time, so a live site whose main address this is gets a rebuild. Publish that build to finish. The response says so in next_action.
Authorizations
Authorizationbearerin headerrequired
Path parameters
site_idstringrequired
The site's id, or its slug (the address before .atelier201.page).
Body
application/jsonrequired
slugstringrequiredlength: 3–40 chars
The new address: .atelier201.page. 3 to 40 lowercase letters, digits or single hyphens.
Response
application/json
Change the site's atelier201.page address
dataobjectrequired
Show child attributes
data.slugstringrequired
data.hostnamestringrequired
data.urlstringrequired
data.previous_hostnamestringnullrequired
The address given up. Null when the site already had this address.
data.redirects_untilstringnullrequired
Until when the previous address redirects here. Null when the site was never published: it had no visitors to redirect.