# Change a saved board view

Any subset of one view's `label`, `filter`, `sort` and `columnIds`. Filter, sort and columnIds REPLACE what was stored rather than merging into it. The caller's own user view, or a workspace view when they manage the board.

Access class: `board:read`.

## Endpoint

`PATCH /v1/boards/{id}/views/{viewId}`

## Parameters

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

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "columnIds": [
      "string"
    ],
    "filter": {},
    "label": "string",
    "sort": {}
  },
  "params": {
    ":id": "string",
    ":viewId": ""
  },
  "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"
}
```
