---
title: "patchSavedView"
method: PATCH
path: "/v1/entity/view/{id}"
tags: ["Saved Views"]
---

# patchSavedView

`PATCH /v1/entity/view/{id}`

Partially updates a saved view with the provided payload. If an updated_at is passed and the server contains a newer version of the view a `409` error is returned

## Path parameters

- `id` string, uuid, required — Generated uuid for a saved view

## Request body

- SavedViewPartial — A saved entity view
  - `slug` EntitySlug[] — list of schemas a view can belong to
  - `name` string — User-friendly identifier for the saved view
  - `org` string — Organisation ID a view belongs to
  - `shared` boolean — boolean property for if a view is shared with organisation
  - `isFavoritedBy` string[] — List of users (IDs) that have favorited the view
  - `created_by` union
    - object — A user that created the view
      - `user_id` string
      - `org_id` string — The organization ID of the user who created the view. Used for partner access control.
    - object — A system-created view
      - `source` 'SYSTEM' | 'BLUEPRINT'
  - `ui_config` object
  - `shared_with` string[] — List of users ('${userId}'), user groups ('group_${groupId}'), or partner users ('${partnerOrgId}_${partnerUserId}') that the view is shared with

## Response `200`

Success

- SavedViewItem — A saved entity view
  - `id` string, uuid — Generated uuid for a saved view
  - `created_at` string
  - `updated_at` string
  - `slug` EntitySlug[], required — list of schemas a view can belong to
  - `name` string, required — User-friendly identifier for the saved view
  - `org` string — Organisation ID a view belongs to
  - `shared` boolean — boolean property for if a view is shared with organisation
  - `isFavoritedBy` string[] — List of users (IDs) that have favorited the view
  - `created_by` union
    - object — A user that created the view
      - `user_id` string
      - `org_id` string — The organization ID of the user who created the view. Used for partner access control.
    - object — A system-created view
      - `source` 'SYSTEM' | 'BLUEPRINT'
  - `ui_config` object, required
  - `shared_with` string[] — List of users ('${userId}'), user groups ('group_${groupId}'), or partner users ('${partnerOrgId}_${partnerUserId}') that the view is shared with

---

[API](https://skmtc.net/epilot/apis/entity-api.md) · [All operations](https://skmtc.net/epilot/apis/entity-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/epilot/entity-api/revisions/3020984570dc/schema)
