---
title: "Delete a security"
method: DELETE
path: "/security/{type}/{secid}"
tags: ["security"]
---

# Delete a security

`DELETE /security/{type}/{secid}`

## Request

- Base URL: `https://api.merqube.com`
- URL: `https://api.merqube.com/security/{type}/{secid}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/merqube/apis/merqube-api/docs/security/:type/:secid/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a security. It can be remade with the same name after - but this destroys all metrics, and as_of and since.

## Path parameters

- `type` string, required
- `secid` string, required

## Response `200`

200 response

## Other responses

- `403`: not authorized
- `404`: security does not exist

---

[API](https://skmtc.dev/merqube/apis/merqube-api.md) - [All operations](https://skmtc.dev/merqube/apis/merqube-api/llms.txt) - [OpenAPI document](https://skmtc.dev/merqube/apis/merqube-api/revisions/20f47ca36587?raw)
