v1
latestOpenAPI 3.0.02026-07-14198572488.4 KBDomains
Replace current maindomain with different one
Updates the site's domain name
put/v1/sites/{id}/maindomain
Path parameters
idinteger required
ID of the Site you are interacting with
Example:8880000888
Request body
Example request
{
"domain": "newdomain.rocket.net"
}Response
OK
Example response
{
"success": true,
"errors": [],
"messages": []
}