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