Skip to main content
PATCH
/
v1
/
views
/
{view_id}
TypeScript SDK
import { Client } from "@notionhq/client"

const notion = new Client({ auth: process.env.NOTION_API_KEY })

const response = await notion.views.update({
  view_id: "a3f1b2c4-5678-4def-abcd-1234567890ab",
  name: "Updated view name"
})
{
  "object": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "parent": {
    "type": "<string>",
    "database_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "type": "table"
}
For a successful request, the response is the updated View object. All body parameters are optional. Only the provided fields are updated; omitted fields are left unchanged. To clear a field, pass null.
Integration capabilitiesThis endpoint requires an integration to have update content capabilities. For more information on integration capabilities, see the capabilities guide.

Errors

Returns a 404 HTTP response if the view doesn’t exist, or if the integration doesn’t have access. Returns a 400 or 429 HTTP response if the request exceeds the request limits.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Notion-Version
enum<string>
required

The API version to use for this request. The latest version is 2026-03-11.

Available options:
2026-03-11

Path Parameters

view_id
string
required

ID of a Notion view.

Body

application/json
name
string

New name for the view.

filter
object

Filter to apply to the view. Uses the same format as the data source query filter. Pass null to clear the filter.

sorts
object[] | null

Property sorts to apply to the view. Only property-based sorts are supported. Pass null to clear the sorts.

Maximum array length: 100
quick_filters
object

Quick filters for the view's filter bar. Keys are property names or IDs. Set a key to a filter condition to add/update that quick filter. Set a key to null to remove it. Pass null for the entire field to clear all quick filters. Unmentioned quick filters are preserved.

configuration
object

View presentation configuration. The type field must match the view type. Individual nullable fields within the configuration can be set to null to clear them.

Response

object
string
required

The object type name.

Allowed value: "view"
id
string<uuid>
required

The ID of the view.

parent
object
required

The parent database of the view.

type
enum<string>
required

The view type.

Available options:
table,
board,
list,
calendar,
timeline,
gallery,
form,
chart,
map,
dashboard