Save the server's custom style

This function saves the server's custom style. You can retrieve the custom style through WHM's Customization interface (Home >> cPanel >> Customization) or with WHM API 1's load_style function.

Authorizations:
query Parameters
company_name
string

The company name.

Example: company_name=Example Corporation
documentation_url
string <url>

The reseller's documentation URL.

Example: documentation_url=http://example.com/documentation/
help_url
string <url>

The reseller's help URL.

Example: help_url=http://example.com/help/

Responses

Response Schema: application/json
object

Request samples

whmapi1 --output=jsonpretty \
  save_style

Response samples

Content type
application/json
{
  • "metadata": {
    • "command": "save_style",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}