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

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

id
integer
required

CDN resource ID.

Body

application/json

Response

201

Successful.