Restore NGINX configuration to default values.

This function resets a user to the NGINX system default.

Authorizations:
query Parameters
user
Array of strings <username>
Default: []
Example: user=unclebob&user=auntsue

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.

Responses

Response Schema: application/json
object

Request samples

whmapi1 nginxmanager_reset_users_cache_config

Response samples

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