put
https://api.duodeal.app/api/filter-views/
Updates an existing filter view by its ID.
Note: Only the owner of a filter view can update it, unless the user has admin permissions.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Filter view unique identifier |
Body Fields
| Field | Type | Required | Description |
|---|---|---|---|
label | string | No | View display name |
share | boolean | No | Whether to share with other users |
favorite | boolean | No | Mark as favorite |
byDefault | boolean | No | Set as default view for this scope |
columns | array | No | List of column names to display |
filters | object | No | Filter criteria |
sort | string | No | Field name to sort by |
direction | string | No | Sort direction: asc or desc |
Response Fields
| Field | Type | Description |
|---|---|---|
id | integer | Filter view unique identifier |
label | string | View display name |
scope | string | Entity scope |
share | boolean | Shared status |
favorite | boolean | Favorite status |
byDefault | boolean | Default view status |
columns | array | Column configuration |
filters | object | Filter criteria |
sort | string | Sort field |
direction | string | Sort direction |
createdAt | datetime | Creation timestamp |
updatedAt | datetime | Last update timestamp |
Response
200 OK: Filter view successfully updated400 Bad Request: Invalid request body or validation error401 Unauthorized: Invalid or missing API key403 Forbidden: Not allowed to update this view404 Not Found: Filter view not found
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
200Resource updated
400Bad request
401Unauthorized
404Resource not found
