Skip to content

ObjectStore::BulkDelete

Glen Campbell edited this page Aug 27, 2013 · 2 revisions

Swift now supports bulk delete. To do this, you send a DELETE to the container resource with a ?bulk_delete query string. This is a proposed design for this.

Container::BulkDelete(array $files=array())

This is the primary method for performing the bulk delete. You can pass in an array of file names. The array is used to create the body of the DELETE request (I'm guessing that the file names are newline-separated, or perhaps "\r\n" separated, but the docs are unclear).

Returns a HttpResponse object

Clone this wiki locally