---
title: "Update a saved view"
method: PUT
path: "/saved-views/{savedTicketView}"
tags: ["Saved views"]
---

# Update a saved view

`PUT /saved-views/{savedTicketView}`

## Request

- Base URL: `https://there-there.app/api`
- URL: `https://there-there.app/api/saved-views/{savedTicketView}`
- Auth: HTTP bearer

## Path parameters

- `savedTicketView` string, required

## Headers

- `X-Workspace-Id` integer

## Request body

- object
  - `name` string
  - `icon` string, nullable
  - `search` string, nullable
  - `statuses` string[], nullable
  - `assigned_to_me` boolean
  - `unassigned` boolean
  - `assigned_user_ulid` string, nullable
  - `ticket_sort_order` 'newest_activity_first' | 'oldest_first'
  - `channel_ulids` string[]
  - `tag_ulids` string[]

## Response `200`

Updated saved view

- object
  - `data` SavedView
    - `id` integer
    - `ulid` string
    - `name` string
    - `slug` string
    - `icon` string, nullable
    - `is_personal` boolean
    - `search` string, nullable
    - `statuses` string[], nullable
    - `assigned_to_me` boolean
    - `unassigned` boolean
    - `assigned_user_id` integer, nullable
    - `ticket_sort_order` 'newest_activity_first' | 'oldest_first'
    - `channel_ids` integer[]
    - `tag_ids` integer[]

---

[API](https://skmtc.dev/there-there/apis/there-there-api.md) · [All operations](https://skmtc.dev/there-there/apis/there-there-api/llms.txt) · [OpenAPI document](https://skmtc.dev/there-there/apis/there-there-api/revisions/1811fb0febc1?raw)
