update_shared_view
Replace an existing shared view's name, filters, visibility, and team assignment in one update; because fields are overwritten, read the current view first and resend every value.
Instructions
Update Shared View
Replaces a shared view: name, filters, visibility and team_id are all overwritten with the body, nothing is merged, so read the view first (get_shared_view) and resend every field. A personal view answers 404. Requires the shared_views:manage permission.
PUT /api/v1/shared-views/{id}
Tags: Views
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | View ID (path parameter) | |
| name | Yes | (body) | |
| filters | Yes | (body) Either a group (logic + rules, nested one level at most) or a condition (model, field, operator, value). Allowed model.field pairs: conversations.status_id, priority_id, assigned_team_id, assigned_user_id, inbox_id, last_message_at, last_interaction_at, last_interaction_sender, created_at, waiting_since, next_sla_deadline_at, snoozed_until, sla_policy_id, tags; conversation_statuses.id, name; users.email, external_user_id; inboxes.channel. There is no subject or content field: a view cannot filter on text | |
| team_id | No | (body) Required when visibility is team | |
| visibility | Yes | (body) all: every agent. team: the members of team_id |