---
title: "How do I delete an instrument?"
slug: "how-do-i-delete-an-instrument"
updated: 2024-09-09T12:14:12Z
published: 2024-09-09T12:14:12Z
canonical: "support.lusid.com/how-do-i-delete-an-instrument"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.lusid.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How do I delete an instrument?

It's not possible to completely delete (as in destroy) an instrument stored in the LUSID instrument master. This is because that instrument might be required to calculate holdings from historical transactions.

However, providing you are a LUSID user with sufficient privileges, you can:

- Hard delete a non-currency instrument. The instrument name is prefixed with `DELETED` and its state set to `Deleted`. All unique and non-unique identifiers (except the [LUID](/v1/docs/what-is-a-lusid-instrument-id-or-luid)) are removed and can be re-assigned. The instrument is no longer returned by the LUSID [ListInstruments](https://www.lusid.com/docs/api#operation/ListInstruments) API; it can only be retrieved by a direct call to the [GetInstrument](https://www.lusid.com/docs/api#operation/GetInstrument) API using the LUID.
- Soft delete an instrument. The instrument state is set to `Inactive`. Unique identifiers only (except the LUID) are removed and can be re-assigned; the instrument retains its non-unique identifiers. The instrument is still returned by the `ListInstruments` API.

> **Note**: If you are the LUSID domain owner, you are automatically assigned the built-in lusid-administrator role, which has all the permissions necessary to perform the operations in this article.

Once deleted (whether hard or soft):

- Historical transactions in portfolios that originally resolved to this instrument will still do so.
- New transactions in portfolios that would have resolved to this instrument are mapped to the [unknown instrument](/v1/docs/what-is-the-unknown-instrument-or-luid-zzzzzzzz) instead.

If you have created a new instrument and given it the unique identifier(s) of the deleted instrument, you can call the LUSID [ResolveInstrument](https://www.lusid.com/docs/api#operation/ResolveInstrument) API with the `reResolve` parameter set to True to re-resolve all the transactions in a particular portfolio (new and historic) to the new instrument.

Note you cannot reactivate a deleted instrument.

## Using the LUSID REST API

To call any LUSID API, first [obtain an API access token](/v1/docs/how-do-i-obtain-and-use-a-short-lived-api-access-token-from-okta).

### Hard delete

Call the LUSID [DeleteInstruments](https://www.lusid.com/docs/api#operation/DeleteInstruments) API for your LUSID domain, passing in your API access token, a delete mode of hard and a list of instruments (up to 2000) identified by LUID, for example:

```json
curl -X POST "https://<your-domain>.lusid.com/api/api/instruments/$delete?deleteMode=Hard&scope=default" 	
    -H "Authorization: Bearer <your-API-access-token>" 	
    -H "Content-Type: application/json-patch+json" 	
    -d "[ 'LUID_ABCABCAB','LUID_DEFDEFDE']"
```

### Soft delete

Call the LUSID [DeleteInstruments](https://www.lusid.com/docs/api#operation/DeleteInstruments) API for your LUSID domain, passing in your API access token, a delete mode of soft and a list of instruments (up to 2000) identified by LUID, for example:

```json
curl -X POST "https://<your-domain>.lusid.com/api/api/instruments/$delete?deleteMode=Soft&scope=default" 	
    -H "Authorization: Bearer <your-API-access-token>" 	
    -H "Content-Type: application/json-patch+json" 	
    -d "[ 'LUID_ABCABCAB','LUID_DEFDEFDE']"
```

> **Note**: To soft delete a single instrument, you can alternatively call the LUSID [DeleteInstrument](https://www.lusid.com/docs/api#operation/DeleteInstrument) API.

## Using the LUSID web app

> **Note**: Currently, the web app only supports soft delete.

1. Sign in to the [LUSID web app](https://www.lusid.com/app) using the credentials of a LUSID administrator.
2. From the left-hand menu, select **Data Management > Instruments**.
3. On the **Instruments** dashboard, click the **Delete** button for the appropriate instrument record:

![](https://cdn.document360.io/d575ad81-c0ed-4980-bbd1-d59ac5c3de82/Images/Documentation/image(29).png)
