Delete storage objects

This page shows you how to delete objects from Google Distributed Cloud Hosted (GDCH) storage buckets.

Before you begin

A project namespace manages bucket resources in the org admin cluster. You must have a project to work with buckets and objects.

You must also have the appropriate bucket permissions to perform the following operation. See Grant bucket access.

Delete objects in storage buckets

Console

  1. In the navigation menu, click Object Storage.
  2. Click the name of the bucket containing the objects.
  3. Wait to be redirected to the Bucket details page with objects listed in a table.
  4. Click delete Delete at the end of the row of the object to be deleted.
  5. Wait a few minutes and refresh the page to check that the object is deleted.
  6. Optional: Toggle the Show deleted data option to see which objects you've deleted.

CLI

To delete a file from a bucket, run the following command:

gdcloud storage rm s3://BUCKET/OBJECT