Deleting an S3 bucket

You can use the Tenant Manager to delete an S3 bucket that is empty.

Before you begin

About this task

These instructions describe how to delete an S3 bucket using the Tenant Manager. You can also delete S3 buckets using the Tenant Management API or the S3 REST API.

You cannot delete an S3 bucket if it contains objects or noncurrent object versions. For information about how S3 versioned objects are deleted, see the instructions for administering StorageGRID.

Procedure

  1. Select S3 > Buckets.
    The Buckets page appears and shows all existing S3 buckets. The table includes each bucket's name, creation time, and region.
  2. Select the empty bucket you want to delete.
    The Delete Bucket button is enabled.

    Delete Bucket Button
  3. Click Delete Bucket.
    The Delete Bucket confirmation message appears.

    Delete Bucket Confirmation
  4. Click OK.
    StorageGRID confirms that the bucket is empty and then deletes the bucket. This operation might take a few minutes.

    Delete Bucket Waiting Message

    If the bucket is not empty, a 409: Conflict error message is returned. You must delete all objects in a bucket before you can delete the bucket.