latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

NGINX Manager

Restore NGINX configuration to default values.

This function resets a user to the NGINX system default.

get/nginxmanager_reset_users_cache_config

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
  }
}