---
title: "Update a view"
description: "Rename, describe or refilter a view. `filter` replaces the whole filter."
canonical: https://docs.mentio.dev/api/views/update-view
markdown: https://docs.mentio.dev/api/views/update-view.mdx
---

# Update a view

`PATCH /v1/views/{id}`

Rename, describe or refilter a view. `filter` replaces the whole filter.

## Parameters

- `id` (path, required): View id (vw_...).

## Body

- `name`: string
- `description`: string
- `filter`: Replaces the whole filter.

## Responses

- 200: The updated view
- 401: Missing or invalid API key
- 404: No such view in this workspace
- 409: A view with that name already exists (duplicate_view)

Full schemas: https://api.mentio.dev/v1/openapi.json. Conventions: https://docs.mentio.dev/conventions.mdx
