v1
latestOpenAPI 3.0.02026-07-14198572488.4 KBDomains
Set a domain for a Site
This can only be done on sites that are not staging sites. Once this is done, you must use PUT to change the maindomain
post/v1/sites/{id}/maindomain
Path parameters
idinteger required
ID of the Site you are interacting with
Example:8880000888
Request body
Example request
{
"domain": "bestdomain.rocket.net"
}Response
OK
Example response
{
"success": true,
"errors": [],
"messages": []
}