Share this page

# DELETE: Delete an instance

This topic provides instructions for using the DELETE operation to delete an instance, or a specific entity.

In this topic:

## Overview

To delete an instance, send an HTTP DELETE request on the instance resource or filtered collection. On success, only status code 200 (OK) is returned.

Caution: It is possible to delete all instances in a collection. Make sure you specify the instance ID or filter the collection.

Back to top

## Examples

Example: DELETE a specific defect

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

    *** Response ***

    HTTP/1.1 200 OK

Example: DELETE a specific workspace

This example demonstrates how a space admin can delete workspace 1036 in the space context.

Bulk deletion of workspaces is not supported.

    DELETE .../api/shared_spaces/1001/workspaces/1036

For an example of how to see the history of deleted workspaces, see Example: GET request for history of deleted workspaces.

Back to top

See also:

- Resources
- Collections
- Instances (Entities)
- DELETE: Delete a collection

https://admhelp.microfocus.com ALM Octane 8942
Tips to improve your search results... ALM Octane Help Center ALM Octane Help 23.4-24.3 All View Local Help Center View Online Help Center Version: