Cache manipulation endpoint

PUT /api/v1/servers/:server_id/cache/flush?domain=:domain

Flush the positive, negative and packet cache for a given domain name.

Query Parameters:
 
  • server_id – The name of the server
  • domain – The domainname to flush for

Example Response:

{
  "count": 10,
  "result": "Flushed cache."
}