v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Sitejet

Update Sitejet template

This function sets a Sitejet website's template.

get/Sitejet/set_template

Query parameters

domainstring required
Example:example.com

A cPanel account's domain.

templateIdstring required
Example:12345

The Sitejet template's ID.

templateNamestring required
Example:A great template

The Sitejet template name.

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": "set_template",
  "module": "Sitejet",
  "result": {
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}