v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Sitejet

Restore a domain from the restore point.

This function reverts a document root to the restore point.

get/Sitejet/restore_document_root

Query parameters

domainstring required
Example:example.com

A cPanel account's domain.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "restore_document_root",
  "module": "Sitejet",
  "result": {
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}