Purge All Content
This action is available only for accelerated virtual servers.
To purge all cached content, use the following request:
POST /virtual_machines/:virtual_machine_id/purge_all.xml
POST /virtual_machines/:virtual_machine_id/purge_all.json
XML Request Example
curl -i -X POST -u user:userpass -H 'Accept: application/xml' -H 'Content-type: application/xml' --url 'http://onapp.test/virtual_machines/12/purge_all.xml' -d ''
JSON Request Example
curl -i -X POST -u user:userpass -H 'Accept: application/json' -H 'Content-type: application/json' --url 'http://onapp.test/virtual_machines/12/purge_all.json' -d ''
If you need to purge only certain files, refer to Purge File(s).