Deleting an Object

You can delete one or more objects from OBS. You can delete either a single object or multiple objects, described as follows:

  • Deleting a single object: OBS provides APIs that allow you to delete an object using an HTTP request.
  • Deleting multiple objects: OBS provides APIs that allow you to delete as many as 1000 objects using one HTTP request.

Batch Deleting Objects

You can send a DELETE Multiple Objects request to batch delete multiple objects from a bucket. OBS returns the deletion result of each object. Deleted objects cannot be restored.

The DELETE Multiple Objects operation supports two response modes:

  • Verbose: The returned response includes the deletion result of each requested object in an XML file.
  • Quiet: The returned response includes only results of objects that failed to be deleted.
Registration