Description

Request URL

Swift API v1.0

PUT /v1/​zc_{account}​/​{container}​

Request Parameters

Parameter Value Style Description
X-Auth-Token User Token header
account tenant ID URI
container Container Name URI
X-Container-Read (Optional) string header
X-Container-Write (Optional) string header
X-Container-Sync-To (Optional) string header
X-Container-Sync-Key (Optional) string header
X-Versions-Location (Optional) string header
X-Container-Meta-name (Optional) string header
Content-Type (Optional) string header
X-Detect-Content-Type (Optional) boolean header
If-None-Match (Optional) string header

Request Json

This operation does not accept a request body.

Normal response code

201, 204

Example

curl -i -X PUT \
-H "Accept: application/json" \
-H "X-Auth-Token: 2c6f2de2126a4102b38368c32e7043db" \
https://object-storage.tyo1.cloud.z.com/v1/nc_cc54f7476b8e444bad238a943a94ccdf/container
HTTP/1.1 201 Created
Content-Length: 0
Content-Type: text/html; charset=UTF-8
X-Trans-Id: tx2f5a4744de404434af54f-00554b21d6
Date: Thu, 07 May 2015 08:27:02 GMT