HCP Tenant Management Help


Request line (POST container)

Depending on whether the HSwift request uses a Keystone tenant ID or the account name, the request line for a request to add an ACL (write or read) to a container has either of these formats:

With the Keystone tenant ID:

POST /swift/v1/tenant-ID/container-name HTTP/1.1
"X-Container-Write: acl-permitted-account-name"

or

POST /swift/v1/tenant-ID/container-name HTTP/1.1
"X-Container-Read: acl-permitted-account-name"

With the account name:

POST /swift/v1/account-name/container-name HTTP/1.1
"X-Container-Write: acl-permitted-account-name"

or

POST /swift/v1/account-name/container-name HTTP/1.1
"X-Container-Read: acl-permitted-account-name"

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.