---
title: "Deletes a portfolio and every lot in it, including the closed ones and their realized history. This cannot be undone."
method: DELETE
path: "/v1/portfolios/{id}"
tags: ["Portfolios"]
---

# Deletes a portfolio and every lot in it, including the closed ones and their realized history. This cannot be undone.

`DELETE /v1/portfolios/{id}`

## Request

- Base URL: `https://api.equibles.com`
- URL: `https://api.equibles.com/v1/portfolios/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/equibles/apis/equibles-api/docs/v1/portfolios/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, uuid, required

## Response `204`

No Content

## Other responses

- `400`: Invalid request — a malformed parameter value or a query parameter this endpoint does not support.
- `403`: Forbidden
- `404`: Not Found

---

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