Request line (PUT directory)

Depending on whether the HSwift request uses a Keystone tenant ID or the account name, the request line for a request to create a directory has either of these formats:

With the Keystone tenant ID:

PUT /swift/v1/tenant-ID/container-name/directory-name/ HTTP/1.1

With the account name:

PUT /swift/v1/account-name/container-name/directory-name/ HTTP/1.1

© 2015, 2020 Hitachi Vantara LLC. All rights reserved.