POST
/
cdn
/
resources
/
{id}
/
purge
Purge cache
curl --request POST \
  --url https://api.gcore.com/cdn/resources/{id}/purge \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "urls": [
    "<string>"
  ]
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

id
integer
required

CDN resource ID.

Body

application/json

Response

201

Successful.