patch
https://api.jmapcloud.io/api/mcs/rest/v1/organizations//projects//tables//dynamic-filters/
Changes a dynamic filter of a table. Only the fields you send are changed.
Required role: ORG_EDITOR, and the current user must have the MODIFY permission on the project.
dynamic-filter must be a dynamic filter of the table; otherwise the request returns 404.
Fields
| Field | Effect |
|---|---|
name | Merged by locale: the locales you send replace the current text, the others are kept. Send null or "" for a locale to remove it. The name in the project's default language can't be removed. |
filter | Replaces the expression, checked against the table's data like on creation. Can't be empty ({}). |
active | Replaces the value. |
What a dynamic filter is
A dynamic filter is a named filter of a table that users can turn on or off:
| Field | Content |
|---|---|
name | Display name by locale (en, fr, es) |
filter | A CQL2-JSON expression on the table's attributes, for example { "op": "=", "args": [ { "property": "STATUS" }, "Open" ] } |
active | Whether the filter is active (default true) |
Organization and project
organization must be the organization of the access token, and the project must belong to it. The table must belong to the project; otherwise the request returns 404.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…