# Adopt a catalogue lender onto the Lenders board

Copy one published lender onto this workspace's own Lenders board as an ordinary record they can then edit. A second adopt of the same lender is a 409, never a duplicate row. A retired catalogue entry is a not-found, and so is a workspace that has not installed the finance pack — install it, then adopt. Admin only.

Access class: `workspace:admin`.

## Endpoint

`POST /v1/workspace/lender-catalogue/{id}/adopt`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| id | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "body": {},
  "params": {
    ":id": "string"
  },
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "adoptedAt": "string",
    "definitionKey": "string",
    "lenderRowId": "",
    "name": "string",
    "systemLenderId": 1.5
  }
}
```

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