# File items into a sidebar folder

Replaces the folder's items with `targets`, in order: route words, or "board:<board id>". A target another folder held MOVES here (a row sits in one place); one this list leaves out returns to the rail; [] empties the folder. Items the caller cannot open are kept, after the ones sent, so a member rearranging a folder never drops a board they were not shown. Filing a board the caller cannot open is refused as not found. Any seat.

Access class: `workspace`.

## Endpoint

`PUT /v1/workspace/sidebar-folders/{id}/items`

## Parameters

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

## Request body

Content type: `application/json`.

```json
{
  "targets": [
    "string"
  ]
}
```

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "createdAt": "2026-01-01T00:00:00Z",
    "createdByAccountId": "",
    "id": "",
    "label": "string",
    "position": 1.5,
    "targets": [
      "string"
    ],
    "updatedAt": "2026-01-01T00:00:00Z"
  }
}
```

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