Use bulk-delete
to delete multiple files
from an account
with a single request. Responds to DELETE requests with a
header 'X-Bulk-Delete: true_value'. The body of the DELETE
request is a new line-separated list of files to delete.
The files listed must be URL encoded and in the
form:
/container_name/obj_name
If all files are successfully deleted (or did not
exist), the operation returns HTTPOk
. If any
files failed to delete, the operation returns
HTTPBadGateway
. In both cases, the response body
is a JSON dictionary that shows the number of files that were
successfully deleted or not found. The files that failed are
listed.
Configuration option = Default value | Description |
---|---|
use = egg:swift#bulk | Entry point of paste.deploy in the server |
max_containers_per_extraction = 10000 | No help text available for this option. |
max_failed_extractions = 1000 | No help text available for this option. |
max_deletes_per_request = 10000 | No help text available for this option. |
max_failed_deletes = 1000 | No help text available for this option. |
yield_frequency = 10 | No help text available for this option. |
delete_container_retry_count = 0 | No help text available for this option. |