Delete NGINX cache contents.

This function clears the user's NGINX cache.

Note:

  • You can only use this function if you installed the ea-nginx package.
SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/NginxCaching/clear_cache
Request samples
uapi --output=jsonpretty \
  --user=username \
  NginxCaching \
  clear_cache
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "clear_cache",
  • "module": "NginxCaching",
  • "result": {
    • "data": { },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}