Skip to main content
DELETE
Delete Cached Keys
curl --request DELETE \
  --url https://sandbox.apicaching.io/ \
  --header 'X-ApiCaching-ApiKey: <api-key>' \
  --header 'X-ApiCaching-CacheKeys: <x-apicaching-cachekeys>'
"<string>"

Authorizations

X-ApiCaching-ApiKey
string
header
required

Headers

X-ApiCaching-Endpoint
string

Your unique project endpoint. This is only required for this example. You should be accessing your unique endpoint directly, instead of the sandbox endpoint. If your endpoint is: https://my-special-endpoint.apicaching.io, set the value of this header to 'my-special-endpoint'.

X-ApiCaching-CacheKeys
string[]
required

Array of keys to be deleted

Response

Keys deleted successfully

The response is of type string.