Create a restore point.

This function creates a restore point for a domain's document root and removes the domain's files.

SecurityBasicAuth
Request
query Parameters
domain
required
string

A cPanel account's domain.

Example: domain=example.com
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Sitejet/create_restore_point
Request samples
uapi --output=jsonpretty \
  --user=username \
  Sitejet \
  create_restore_point \
  domain='example.com'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "create_restore_point",
  • "module": "Sitejet",
  • "result": {
    • "data": { },
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}