Website Firewall Methods

Api for managing a Sucuri Website Firewall

website_firewall.clear_cache()

Clear the cache of a list of paths for a site protected by a Website Firewall. If ‘paths’ isnt given, clear the entire cache.

Parameters:
  • domain (String) – The domain of the Website Firewall Platform. Must be a valid domain/subdomain
  • paths (List, Optional) – The paths to be cleared from the cache, eg [“/path1.html”, “logo.png”]. You can only clear a maximum of 500 pages in one request.
Returns:

A dictionary as described in job.status().

Previous topic

VLAN API Methods

Next topic

Errors

This Page