Share this page

# DELETE: Delete a collection

This topic provides instructions for using the DELETE operation to delete multiple entities.

In this topic:

## Overview

- A request for a delete on a collection deletes the entire collection.

- Deleting can be done using filtering.

- Supports partial success, similar to POST and PUT.

- On success, only status code 200 (OK) is returned.

`DELETE .../api/shared_spaces/<space_id>/workspaces/<workspace_id>/defects`

Caution: It is possible to delete all of the instances in a collection if no query is specified. For example, the line above will successfully delete all defects in the project.

If your site has been configured to be compliant with the GDPR 'Right to erasure (right to be forgotten)' regulation, deletion of a collection is not supported.

Back to top

## Examples

DELETE request

This example deletes all defects.

`DELETE .../api/shared_spaces/<space_id>/workspaces/<workspace_id>/defects/`

    *** Response ***

    HTTP/1.1 200 OK

Back to top

See also:

- Resources
- Collections
- Instances (Entities)
- DELETE: Delete an instance

https://admhelp.microfocus.com ALM Octane 8942
Tips to improve your search results... ALM Octane Help Center ALM Octane Help 15.1.90 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: