Atom feed of this document
  
Icehouse -  Icehouse -  Icehouse -  Icehouse -  Icehouse -  Icehouse -  Icehouse -  Icehouse - 

 Bulk delete

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.

Table 8.62. Description of configuration options for [filter:bulk] in proxy-server.conf-sample
Configuration option = Default value Description
use = egg:swift#bulkEntry point of paste.deploy in the server
max_containers_per_extraction = 10000No help text available for this option.
max_failed_extractions = 1000No help text available for this option.
max_deletes_per_request = 10000No help text available for this option.
max_failed_deletes = 1000No help text available for this option.
yield_frequency = 10No help text available for this option.
delete_container_retry_count = 0No help text available for this option.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...