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

FieldTypeRequiredDescription
documentIduuidRequired
filterIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
filterTypestringOptional
isMultiSelectbooleanOptional
isRequiredbooleanOptional
defaultValuesstringOptional
versionintegerOptional

Response

FieldTypeDescription
iduuid
namestring| null
filterTypestring| null
isMultiSelectboolean
isRequiredboolean
defaultValuesstring| null
versioninteger