Updates an existing filter definition.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

filterIdstringRequiredformat: "uuid"
Identifier of the filter to update.

Request

The updated filter definition supplied by the caller.
namestringRequired0-1000 characters
The name of the filter.
filterDefinitionobjectRequired
The structured filter representation of a filter query.
workspaceAccessLevelenum or nullOptional

Determines the level of access to this filter granted to all workspace users. Can be either not set (no access), read, or manage.

Response

OK
idstringOptionalformat: "uuid"
The id of the entity.
createdOnstringOptionalformat: "date-time"
The date this entity was created.
createdBystringOptionalformat: "uuid"
The id of the user who created this entity.
updatedOnstringOptionalformat: "date-time"
The date this entity was last modified.
updatedBystringOptionalformat: "uuid"
The id of the user who last modified this entity.
namestring or nullOptional
The name of the filter.
filterDefinitionobjectOptional
The structured filter representation of a filter query.
isExternalbooleanOptional

Whether this filter is coming from an external workspace (awork Connect).

entityTypestring or nullOptional
The entity type this filter targets. Can be 'projects', 'tasks', 'companies', 'users'.
userIdstringOptionalformat: "uuid"
The id of the user this filter was created for.
filterQuerystring or nullOptional

The OData- query string that will be applied for querying this filter’s underlying data type.

workspaceAccessLevelstring or nullOptional

Determines the level of access to this filter granted to all workspace users. Can be either not set (no access), read, or manage.

contributorslist of objects or nullOptional
The users explicitly connected to this filter.
teamslist of objects or nullOptional
The teams explicitly connected to this filter.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error