On OBS Console, you can manually delete unneeded files or folders to release space and reduce costs.
Alternatively, you can configure lifecycle rules to periodically, automatically delete some or all of the files and folders from a bucket. For details, see Configuring a Lifecycle Rule.
In big data scenarios, parallel file systems usually have deep directory levels and each directory has a large number of files. In such case, deleting directories from parallel file systems may fail due to timeout. To address this problem, you are advised to delete directories in either of the following ways:
Object Deletion with Versioning Enabled
When versioning is enabled for a bucket, OBS works slightly different when deleting different objects.
Figure 1 Deleting a file or folder

Figure 2 Deleting a version of an object

You can select multiple files or folders and click Delete above the object list to batch delete them.
Figure 3 Deleting a file or folder

Figure 4 Deleting objects

If you delete an object from a bucket with versioning enabled, the object is not permanently deleted but retained in the Deleted Objects list. If you need to permanently delete the object to save space, complete the following steps:
In a bucket with WORM enabled, objects cannot be permanently deleted from the Deleted Objects list. To permanently delete an object, enable Historical Versions, select the desired object version, and click Permanently Delete above the search box. For details, see Related Operations or Configuring WORM Retention.
Likewise, folders cannot be permanently deleted from the Deleted Objects list either. To permanently delete a folder, you can only configure a lifecycle rule.
You can also select multiple files or folders and click Permanently Delete above the object list to batch delete them.
Figure 5 Deleting a file or folder permanently

When versioning is enabled, files in the Deleted Objects list also have multiple versions. Note the following points when deleting different versions of files: