Depending on whether the HSwift request uses a Keystone tenant ID or the account name, the request line for a request to delete an object has either of these formats:
•With the Keystone tenant ID included in the hostname:
DELETE /swift/v1/tenant-ID/container-name/directory-name/object-name HTTP/1.1
•With the account name following the hostname:
DELETE /swift/v1/account-name/container-name/directory-name/object-name HTTP/1.1
Depending on whether the HSwift request uses a Keystone tenant ID or the account name, the request line for a request to delete a directory has either of these formats:
•With the Keystone tenant ID included in the hostname:
DELETE /swift/v1/tenant-ID/container-name/directory-name/ HTTP/1.1
•With the account name following the hostname:
DELETE /swift/v1/account-name/container-name/directory-name/ HTTP/1.1
© 2016 Hitachi Data Systems Corporation. All rights reserved.