# Seat one team on a record

Puts one of the workspace's own non-account records into a named seat on a row, or clears it — today a deal's TEAM, from the teams roster. The team's name is resolved here and stored beside its id, so every surface that only reads the cell shows the name; a team from another workspace is refused. People are not seated this way: use the row's assignments door for those.

Access class: `def:read`.

## Endpoint

`POST /v1/definitions/{key}/rows/{rowId}/seat/{seat}`

## Parameters

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

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "targetId": ""
  },
  "params": {
    ":key": "string",
    ":rowId": "",
    ":seat": "string"
  },
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "label": "string",
    "seat": "string",
    "targetId": ""
  }
}
```

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