DELETE Project Cache Object
- DELETE /api/projects/(pid)/cache/(key)
Deletes an object from the project cache.
- Parameters:
pid (string) – Unique project identifier.
key (string) – Cache object identifier.
- Status Codes:
204 No Content – The cached object has been deleted.
Sample Request
DELETE /api/projects/dbaf026f919620acbf2e961ad732433d/cache/file://example.com/foo/bar/baz.jpg HTTP/1.1 Host: localhost:8093 Content-Length: 0 Authorization: Basic c2x5Y2F0OnNseWNhdA== Accept-Encoding: gzip, deflate, compress Accept: */* User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36
Sample Response
HTTP/1.1 204 Object deleted. Date: Mon, 25 Nov 2018 20:35:59 GMT Content-Type: text/html;charset=utf-8 Server: CherryPy/14.0.0