DELETE Bucket
DELETE {{baseUrl}}/n/:namespaceName/b/:bucketName/
Deletes a bucket if the bucket is already empty. If the bucket is not empty, use DeleteObject first. In addition, you cannot delete a bucket that has a multipart upload in progress or a pre-authenticated request associated with that bucket.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
if-match | string | The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of | |
the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload | |||
the resource. | |||
opc-client-request-id | string | The client request ID for tracing. | |
Accept | string |