---
title: "Update an existing saved view"
method: PUT
path: "/api/{org_id}/savedviews/{view_id}"
tags: ["Saved Views"]
---

# Update an existing saved view

`PUT /api/{org_id}/savedviews/{view_id}`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/savedviews/{view_id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/savedviews/:view_id/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates the configuration and parameters of an existing saved search view

## Path parameters

- `org_id` string, required
- `view_id` string, required

## Request body

- object
  - `data` unknown, required
  - `view_name` string, required: User-readable name of the view, must be unique within the organization.

## Response `200`

Success

- object
  - `data` unknown, required
  - `org_id` string, required
  - `view_id` string, required
  - `view_name` string, required
  - `view_type` string, nullable

## Other responses

- `400`: Failure
- `500`: Failure

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
