Method |
URI |
Description |
---|---|---|
POST |
/v1/{account}?bulk-delete |
Batch deletes containers. A maximum of 10,000 empty containers can be deleted. |
{account} indicates the name of an account.
The request body is a text file that includes the containers to be deleted. Each line in the text file represents a container to be deleted.
Batch delete containers:
curl -i $publicURL?bulk-delete -XPOST -H "X-Auth-Token:$token" -T ./deletesample
Parameter |
Type |
Description |
---|---|---|
bulk-delete |
String (Required) |
Bulk-deletes containers. It is used together with the text file that includes the containers to be deleted. A maximum of 10,000 empty containers can be deleted at once. |
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. |
Request header parameters
Parameter |
Type |
Description |
---|---|---|
X-Auth-Token |
String (Required) |
Authentication token. |