• Object Storage Service

  1. Help Center
  2. Object Storage Service
  3. User Guide
  4. OBS Console Operation Guide
  5. Managing Objects
  6. Deleting a File or Folder

Deleting a File or Folder

Deleting unnecessary files saves space and costs. You can delete files one by one or in a batch.


You can use the lifecycle management function to implement periodic deletion of unneeded files or batch delete all files or folders in OBS. For details, see Lifecycle Management.

When Versioning is enabled, deleting the Historical Version of a file will permanently delete the Historical Version, which cannot be restored from the Deleted Objects. If you delete the Latest Version of a file, then the next recent version becomes the Latest Version of the file. For details about versioning, see Versioning.


  1. In the bucket list on the OBS Console, click the target bucket to go to the Summary page.
  2. In the navigation tree on the left, click Objects.
  3. Select the file or folder you want to delete, and choose More > Delete on the right.

    You can select multiple files and click Delete above the file list to batch delete the files.

  4. Click OK.