Delete the user's NGINX cache.

This function clears a user's NGINX cache

SecurityBasicAuth
Request
query Parameters
user
Array of strings <username>
Default: []

A list of users whose cache you want to clear.

Note:

If you do not pass this parameter, this function clears the cache for all users.

Example: user=unclebob&user=auntsue
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
get/nginxmanager_clear_cache
Request samples
whmapi1 --output=jsonpretty \
  nginxmanager_clear_cache
Response samples
application/json
{
  • "metadata": {
    • "command": "nginxmanager_clear_cache",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}