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
Added in version 4.1.3.
- Query Parameters:¶
subtree – If set to true, also flush the whole subtree (default = false)
Added in version 4.4.0.
- Query Parameters:¶
type – If set the recursor only flushes records of the specified type name.
Example Response:
{ "count": 10, "result": "Flushed cache." }