latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

NGINX Manager

Delete the user's NGINX cache.

This function clears a user's NGINX cache

get/nginxmanager_clear_cache

Query parameters

userstring[]

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.

[
  "unclebob",
  "auntsue"
]

Response

HTTP Request was successful.

Example response

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