minio python remove a bucket 1

minio python remove a bucket

# Remove the test bucket
client.remove_bucket("testbucket")

Here is what the above code is Doing:
1. Create a new bucket called “testbucket”
2. Create a new object called “testobject” in the “testbucket” bucket
3. Read the “testobject” object from the “testbucket” bucket
4. Remove the “testobject” object from the “testbucket” bucket
5. Remove the “testbucket” bucket

Similar Posts