# Delete the exemption entry

Delete the existing entries by entity_id, do not need Lingo moderator review, please use carefully [tenant moderator please review carefully].
**Notice**：It is also supported to delete entries through provider and outer_id. At this time, the entity_id in the path is fixed enterprise_0.

## Request

Facts | &nbsp;
---|---
HTTP URL | https://open.feishu.cn/open-apis/lingo/v1/entities/:entity_id
HTTP Method | DELETE
Rate Limit | [1000 per minute、50 per second](https://open.feishu.cn/document/ukTMukTMukTM/uUzN04SN3QjL1cDN)
Supported app types | Custom App
Required scopes<br>**To use this API, you must have at least 1 of the listed scopes.** | Delete Lingo entries without approval(baike:entity:exempt_delete)

### Request header

Parameter | Type | Required | Description
---|---|---|---
Authorization | string | Yes | `tenant_access_token`<br>**Value format**: "Bearer `access_token`"<br>**Example value**: "Bearer t-7f1bcd13fc57d46bac21793a18e560"<br>[How to choose and get access token](https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-choose-which-type-of-token-to-use)

### Path parameters

Parameter | Type | Description
---|---|---
entity_id | string | Entry ID<br>**Example value**: "enterprise_43742132363"

### Query parameters

Parameter | Type | Required | Description
---|---|---|---
provider | string | No | External system (when using, you need to fix the entry ID in the path as: enterprise_0, and the provider and outer_id)<br>**Example value**: Nebula<br>**Data validation rules**:<br>- Length range: `2` ～ `32` characters
outer_id | string | No | The unique ID corresponding to the entry in the external system (when using it, you need to fix the entry ID in the path as: enterprise_0, and the provider and outer_id)<br>**Example value**: 123aaa<br>**Data validation rules**:<br>- Length range: `1` ～ `64` characters

## Response

### Response body

Parameter | Type | Description
---|---|---
code | int | Error codes, fail if not zero
msg | string | Error descriptions
data | \- | \-

### Response body example
```json
{
    "code": 0,
    "msg": "success",
    "data": {}
}
```

### Error code

HTTP status code | Error code | Description | Troubleshooting suggestions
---|---|---|---
400 | 2250001 | invalid param | Parameter error, refer to the document to check the input parameters
500 | 2250002 | network anomaly, please try again | Most service requests timed out, please re-request, a few are service exceptions

