HCP System Management Help
Here's a sample POST request that adds an ACL that give public read, browse, write, and delete data permissions to the finance container by using the X-Container-Write and X-Container-Read headers.
Request with curl command line
curl -i -X POST http://api.hcp.example.com/swift/v1/AUTH_6b6884ebb6f441cfbb7e740f6a927c9e/finance -H "X-Auth-Token: dc5efec8f546455eac974e7bbfd0dd87" -H "X-Container-Write: *" -H "X-Container-Read: *"
Request headers
POST /swift/v1/AUTH_6b6884ebb6f441cfbb7e740f6a927c9e/finance HTTP/1.1
X-Auth-Token: dc5efec8f546455eac974e7bbfd0dd87
X-Container-Write: *
X-Container-Read: *
Response headers
HTTP/1.1 204 No Content
Date: Fri, 31 Oct 2014 13:07:45 GMT
Server: HCP V7.1.0.353
X-Trans-Id: 3c74e66d-9fb7-407d-9762-391d3e77014f
Content-Length: 0
Content-Type: application/octet-stream
Trademarks and Legal Disclaimer
© 2017 Hitachi Vantara Corporation. All rights reserved.