This function clears a user's NGINX cache
user | Array of 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: |
HTTP Request was successful.
object |
whmapi1 --output=jsonpretty \ nginxmanager_clear_cache
{- "metadata": {
- "command": "nginxmanager_clear_cache",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}