Update View
gorgias_update_viewUpdate an existing Gorgias view by ID to change its name, filters, columns, or sharing settings. Only include fields you want to modify.
Instructions
PUT /api/views/{id} — Update an existing view by ID. Only include fields to modify.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique ID of the view to update | |
| name | No | Display name of the view | |
| type | No | Type of objects the view applies to. Only 'ticket-list' is supported. | |
| fields | No | Ticket attribute names to display as UI columns | |
| search | No | Free-text search query to filter matching items. Pass null to clear. | |
| filters | No | JavaScript-style filter expression. Supports template variables e.g. eq(ticket.assignee_user.id, '{{current_user.id}}') && eq(ticket.status, 'open') | |
| order_by | No | Ticket attribute used to sort view items | |
| order_dir | No | Sort direction for view items | |
| decoration | No | Display configuration for the view. Pass null to remove decoration. | |
| section_id | No | ID of the view section to move this view into | |
| visibility | No | Access level: 'public' (all users), 'shared' (specific users/teams plus admins), 'private' (single user) | |
| shared_with_teams | No | IDs of teams to share the view with. Max 100 items. | |
| shared_with_users | No | IDs of users to share the view with. Max 100 items. |