This function reverts a document root to the restore point.
uapi --output=jsonpretty \ --user=username \ Sitejet \ restore_document_root \ domain='example.com'
{- "apiversion": 3,
- "func": "restore_document_root",
- "module": "Sitejet",
- "result": {
- "data": { },
- "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}