NGINX Manager

Restore NGINX configuration to default values.

This function resets a user to the NGINX system default.

get/nginxmanager_reset_users_cache_config

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Query parameters

userstring[]

A list of users to reset to the NGINX system default.

Note:

If you do not pass this parameter, this function resets the configuration to the default for all users on the system.

[
  "unclebob",
  "auntsue"
]

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "nginxmanager_reset_users_cache_config",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.