Request¶
Method¶
Method | URI | Description |
---|---|---|
DELETE | /v1/{account}/{container} | Deletes a container in a specified account. Only empty containers can be deleted. |
{account} indicates the name of an account. {container} indicates the name of a container.
This operation does not involve a request body.
Example Request¶
Delete the empty containers from the specified account:
curl -i $publicURL/steven -X DELETE -H "X-Auth-Token:$token"
Request Query Parameters¶
Parameter | Type | Description |
---|---|---|
bulk-delete | String (Optional) | Bulk-deletes objects. This parameter is used with the deletion list file. A maximum of 10,000 objects can be deleted at once. |
Request Headers¶
Request URI parameters
Parameter | Type | Description |
---|---|---|
{account} | String (Required) | A unique account name. In the current version, it indicates a unique ID for the account. |
{container} | String (Required) | A unique container name. For details about container naming rules, see Naming Rules. |
Request header parameters
Parameter | Type | Description |
---|---|---|
X-Auth-Token | String (Required) | Authentication token. |