Cache

Endpoints

PUT /servers/{server_id}/cache/flush

Flush a cache-entry by name

Parameters:
  • server_id (string) – The id of the server to retrieve

Query Parameters:
  • domain (string) – The domain name to flush from the cache (Required)

Status Codes:
  • 200 OK

    Flush successful

    Example response:

    HTTP/1.1 200 OK
    Content-Type: application/json
    
    {
        "count": 1.0,
        "result": "string"
    }
    

  • default

    The input to the operation was not valid

    Example response:

    HTTP/1.1 default -
    Content-Type: application/json
    
    {
        "error": "string",
        "errors": [
            "string"
        ]
    }
    

Objects

json CacheFlushResult : object

CacheFlushResult

The result of a cache-flush

Optional members:
count : number

Amount of entries flushed

result : string

A message about the result like “Flushed cache”