Child pages
  • Suspend CDN Resource
Skip to end of metadata
Go to start of metadata

To suspend a specific CDN resource, use the following request:

PUT /cdn_resources/resource_id/suspend.xml
PUT /cdn_resources/resource_id/suspend.json

XML Request example:

curl -i -X PUT -u user:userpass --url http://onapp.test/cdn_resources/resource_id/suspend.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'


JSON Request example:

curl -i -X PUT -u user:userpass --url http://onapp.test/cdn_resources/resource_id/suspend.json -H 'Accept: application/json' -H 'Content-type: application/json' 



resource_id -  the ID of the CDN resource which you wish to suspend.


You will get a 204 status response on success, and 404 if there is no such CDN Resource with a requested ID or you entered incorrect ID.




#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels