Service Status

The Object Storage Unit (OSU) service is now END OF SUPPORT AND MAINTENANCE. For more information, see End-of-Life Policy.

You can delete an empty bucket that you created and that you no longer need.

This feature is not available from Cockpit. This documentation only describes the procedure using AWS CLI.

Related Page

Before you begin:

  • To delete a bucket, use the delete-bucket command following this syntax:
Request sample
$ aws s3api delete-bucket \
    --profile YOUR_PROFILE \
    --bucket BUCKET \
    --endpoint ENDPOINT

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.
  • bucket: The name of the bucket you want to delete.
  • endpoint: The endpoint corresponding to the service (oos or osuand Region you want to send the request to, in the following format: https://<SERVICE>.<REGION>

The bucket is deleted.

  • You can also perform this action using an s3 command following this syntax:

    $ aws s3 rb --profile YOUR_PROFILE s3://YOUR_BUCKET --endpoint ENDPOINT
  • You can also manage your object storage resources using s3cmd commands. For more information, see s3cmd.

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.