Purge all the content within one or more directories from the CDN's cache. Generates an asynchronous transaction that can be checked with voxel.voxcast.ondemand.content.transaction_status.


device_id (required)
Numeric Voxel device id, available from voxel.devices.list
paths (required)
A newline-separated list of paths to the content, e.g., "/path/to/content1\n/path/to/content2\n...", with at most 500 paths

Example Response



This method recursively removes all content from within the directories it is given. So, for example, if all the images on your site are stored in "/images", passing "/images" will purge all of your site's images from VoxCAST's cache. Important note: while calling this method with the root ("/") path will purge all content from the site's cache, the preferred method to do this is voxel.voxcast.ondemand.content.purge_site, which will instantaneously clear the entire cache, instead of individually deleting each object.

Method Specific Error Codes

100: Unknown device
The device_id passed in can't be matched to a valid device.
202: VoxCAST request failed (reason)
An error occurred in attempting the VoxCAST request. A reason may be specified in parenthesis.

Rate Limits

Averaging Rate Limiter (Requests per period)
No more than 500 calls per Minute.
This limit is based on the number of paths purged, not the number of hAPI calls.