Deleting Objects or Buckets

Let’s learn about the various ways to delete objects and buckets.

Following are the steps to delete a bucket:

STEP 1

Select the bucket which you want to delete.

STEP 2

You can see that the bucket cannot be deleted, because it contains one or more objects. To delete the bucket, we’ll first need to delete all the objects inside the bucket.

Deleting objects within a bucket

STEP 3

Select the objects inside the bucket which you want to delete. Then click on the “Delete” button.

STEP 4

Type in “permanently delete” to confirm the deletion. Then click on the “Delete objects” button. The object will be deleted.

Click on the “Close” button to return back to the object list page.

After this, we’ll see that the list is empty. This confirms the successful deletion of all the objects within the bucket. As the bucket is empty now, we can delete the bucket without any error.

Delete an empty bucket

STEP 5

Select the empty bucket which you want to delete. Then, click on the “Delete” button.

STEP 6

Type in the bucket name and click on the “Delete Bucket” option. This will delete the listed bucket.

Our bucket list is now empty.

Get hands-on with 1200+ tech skills courses.