---
title: "Delete Entity"
method: DELETE
path: "/customers/v1/{customer_id}/entities/{entity_id}"
tags: ["Entities"]
---

# Delete Entity

`DELETE /customers/v1/{customer_id}/entities/{entity_id}`

## Request

- Base URL: `https://sandbox.leantech.me`
- URL: `https://sandbox.leantech.me/customers/v1/{customer_id}/entities/{entity_id}`
- Auth: none declared

Marks the entity as deleted. It can be recreated later by intiating a new .connect() flow from the LinkSDK.

## Path parameters

- `customer_id` string, uuid, required
- `entity_id` string, uuid, required

## Query parameters

- `reason` string

## Request body

- object
  - `reason` 'USER_REQUESTED', nullable, required: Please always pass in the value USER_REQUESTED.

## Response `200`

---

[API](https://skmtc.dev/leantech/apis/lean-api.md) - [All operations](https://skmtc.dev/leantech/apis/lean-api/llms.txt) - [OpenAPI document](https://skmtc.dev/leantech/apis/lean-api/revisions/67687c8f4f15?raw)
