This topic describes how to delete folders from a bucket by using the OSS console.

Background information

Before you delete folders, note that:
  • When you delete a folder, OSS automatically deletes all objects and subfolders in the folder. To retain the objects and subfolders contained in the folder, you must migrate these objects and subfolders before you delete the folder.
  • A folder may fail to be deleted if it contains a large number of objects.


  1. Log on to the OSS console.
  2. Click the target bucket.
    • New console: Click Buckets, and then click the name of the target bucket.
    • Old console: In the left-side navigation pane, click the name of the target bucket.
  3. Click the Files tab.
  4. Click Delete in the Actions column corresponding to the folder to delete.
  5. Click OK.