Docs
Update Filter
PUT /documents/{documentId}/filters/{filterId}
PUT
/documents/{documentId}/filters/{filterId}Fully replaces a document filter and returns it with the document's new version; every field is required, and defaultValues can be null to clear it. A type or multi-select change a data table's bound column can't take is a 400 naming the table and column. Send the version from DynamicDocs_GetDocument: a stale one answers 409 with currentVersion. Needs Edit on the doc's file. On an organization-drive doc a change to an Area filter is a 400.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| documentId | uuid | Required | |
| filterId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Optional | |
| filterType | string | Optional | |
| isMultiSelect | boolean | Optional | |
| isRequired | boolean | Optional | |
| defaultValues | string | Optional | |
| version | integer | Optional |
Response
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| filterType | string| null | |
| isMultiSelect | boolean | |
| isRequired | boolean | |
| defaultValues | string| null | |
| version | integer |