# Reorder a board's saved views

REPLACES the order the view tabs are drawn in for ONE `scope` — `user` (the default, the caller's own) or `workspace` (manage on the board). `order` must list every view id of that scope; the two scopes are separate lists and reorder separately.

Access class: `board:read`.

## Endpoint

`PUT /v1/boards/{id}/views/order`

## Parameters

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

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "order": [
      "string"
    ],
    "scope": "user"
  },
  "params": {
    ":id": "string"
  },
  "query": {}
}
```

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