Share this page

# DELETE: Delete a collection of attachments

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

In this topic:

## Overview

An attachment collection is deleted with a DELETE operation. Use a query to delete multiple instances.

- 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 for collections.

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

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

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 attachment in the project:

Back to top

## Examples

Delete all attachments

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

    *** Response ***

    HTTP/1.1 200 OK

Back to top

See also:

- Attachments
- Collections

https://admhelp.microfocus.com ALM Octane 8942
Tips to improve your search results... ValueEdge & ALM Octane Help Center ValueEdge ALM Octane Help 16.0.100-16.0.400 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: