Delete a bucket

Use the following code snippet to delete a bucket.

response = s3_client.delete_bucket(Bucket='bucket1')
print(response)

This will delete the bucket ‘bucket1’ from Ozone volume ‘s3v’.