Creating a container

You use the HTTP PUT method to create a container. You can create a container only if your HSwift account is configured to let you do so.

When you create a container, you specify a name for it. For information on naming containers, see Container names. If you use the PUT method to add an another container with a name that is identical to a container that already exists, you overwrite the metadata of the current container.

You can specify an ACL for a container in the same request as you use to create the container. To do this, you need to use ACL headers. For more information on ACLs, see Access control lists.

If the ACL you specify in a request to create a container is invalid, HCP returns a 400 (Bad Request) status code and does not create the container.

When you create a container, you get browse, read, and write data access permissions for the container.

For information on data access permissions see Data access permissions.

Trademarks and Legal Disclaimer

© 2017 Hitachi Data Systems Corporation. All rights reserved.