# Delete a credit record

Deletes one credit record from a deal's underwriting tab. `:family` is credit_memo, decision or business_research and anything else is a 404; `:id` names the record itself, so the deal is not repeated in the path. A credit MEMO goes only while it is still a draft, and only for a ledger writer — once it has been through review it is the record of a decision and stays — while a decision or a piece of business research is a real delete, with the timeline entry as what survives. Deals page only.

Access class: `def:read`.

## Endpoint

`DELETE /v1/definitions/{key}/credit-records/{family}/{id}`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| family | path | string | Yes |
| id | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
