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

KeyDatatypeRequiredDescription
if-matchstringThe 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-idstringThe client request ID for tracing.
Acceptstring