# Link a lender record to its Specter workspace

Links one entry on our Lenders board to the Specter workspace that lender actually IS, so deals can be submitted to them in-network instead of as e-mailed paper. `rowId` is the Lenders record; body: `lenderTenantId`, the lender's workspace. A PUT because the record is the link's identity — the same call makes the link and corrects it, and repeating it changes nothing. `delete_lender-workspaces_rowId` takes the link off and leaves the record standing.

Access class: `workspace`.

## Endpoint

`PUT /v1/lender-workspaces/{rowId}`

## Parameters

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

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "lenderTenantId": 1
  },
  "params": {
    ":rowId": ""
  },
  "query": {}
}
```

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "createdAt": "string",
    "lenderRowId": "",
    "lenderTenantId": 1,
    "linkedByUserId": 1,
    "updatedAt": "string"
  }
}
```

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