Sitejet
Restore a domain from the restore point.
Changed onThis function reverts a document root to the restore point.
get/Sitejet/restore_document_root
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Query parameters
domainstring required
Example:example.com
A cPanel account's domain.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "restore_document_root",
"module": "Sitejet",
"result": {
"metadata": {
"transformed": 1
},
"status": 1
}
}Changes
- info
api operation id
restore_document_rootremoved and replaced withSitejet-restore_document_root
- info