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.
Authorizations:

Responses

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

Request samples

uapi --output=jsonpretty \
  --user=username \
  NginxCaching \
  clear_cache

Response samples

Content type
application/json
{
  • "apiversion": 3,
  • "func": "clear_cache",
  • "module": "NginxCaching",
  • "result": {
    • "data": { },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}