cURL
curl --request DELETE \ --url https://api.gcore.com/cdn/resources/{resource_id} \ --header 'Authorization: <api-key>'
{ "errors": [ "The CDN resource is used as primary for common cache feature and can not be deleted. Delete linked resources first [29]" ] }
Delete the CDN resource from the system permanently. Notes:
active
false
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
CDN resource ID.
Successful
Was this page helpful?