# Disconnect a lender's API

Takes the API connection and its stored credentials off a Lenders record. Submissions already sent keep the id the lender's API gave them; the next send to a lender whose record names a portal or API is refused `lender_api_not_connected` until it is connected again. 204. Needs the seat that may edit the lender.

Access class: `def:read`.

## Endpoint

`DELETE /v1/definitions/{key}/rows/{rowId}/api-connection`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| rowId | path | string | Yes |

## 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"
}
```
