HCP Tenant Management Help


Example 1: Creating a container

Here's a sample PUT request that creates a container named finance in the context of the tenant named europe.

Request with cURL command line

curl -X PUT http://api.hcp.example.com/swift/v1/AUTH_6b6884ebb6f441cfbb7e740f6a927c9e/finance -i -H "X-Auth-Token: dc5efec8f546455eac974e7bbfd0dd87"

Request headers

PUT /swift/v1/AUTH_6b6884ebb6f441cfbb7e740f6a927c9e/finance HTTP/1.1
X-Auth-Token: dc5efec8f546455eac974e7bbfd0dd87

Response headers

HTTP/1.1 201 Created
Date: Fri, 31 Oct 2014 12:45:01 GMT
Content-Length: 0
X-Trans-Id: tx78cf0d46829f49529ed1a-0053fccad0

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