SiteQuality
Update domain name in Site Quality Monitoring project
This function updates the domain name for a Site Quality Monitoring project. It searches through all projects owned by the user to find systems that match the specified old domain and updates them to use the new domain. This is typically used when a website's domain name changes and the monitoring configuration needs to be updated accordingly.
post/SiteQuality/update_domain
Query parameters
new_domainstring required
Example:newdomain.com
The new domain name to replace the old domain in the Site Quality Monitoring project.
old_domainstring required
Example:olddomain.com
The current domain name that needs to be updated in the Site Quality Monitoring project.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "update_domain",
"module": "SiteQuality",
"result": {
"data": {
"system": {
"id": 623358,
"name": "newdomain.com",
"system_size": {
"id": 3,
"name": "Unlimited lite"
},
"url": "https://newdomain.com"
}
},
"status": 1
}
}