---
title: "Restore removed items"
method: PATCH
path: "/crm/v1/entities/{entity}/trash/restore"
tags: ["trash"]
---

# Restore removed items

`PATCH /crm/v1/entities/{entity}/trash/restore`

## Request

- Base URL: `https://{domain}.uspacy.ua`
- URL: `https://{domain}.uspacy.ua/crm/v1/entities/{entity}/trash/restore`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/uspacy/apis/crm-service-2/docs/crm/v1/entities/:entity/trash/restore/patch.ts> (a function with typed inputs; its response is checked against the schema)

Restores items from the recycle bin back to the active entity list.
Example: `PATCH /crm/v1/entities/leads/trash/restore`

## Request body

- object
  - `entity_ids` integer[]

## Response `200`

OK

## Other responses

- `401`: Access token is missing or invalid

---

[API](https://skmtc.dev/uspacy/apis/crm-service-2.md) - [All operations](https://skmtc.dev/uspacy/apis/crm-service-2/llms.txt) - [OpenAPI document](https://skmtc.dev/uspacy/apis/crm-service-2/revisions/f80578d43845?raw)
