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
idstringformat: "uuid"
The id of the entity.
createdOnstringformat: "date-time"
The date this entity was created.
createdBystringformat: "uuid"
The id of the user who created this entity.
updatedOnstringformat: "date-time"
The date this entity was last modified.
updatedBystringformat: "uuid"
The id of the user who last modified this entity.
namestring or null
The name of the filter.
filterDefinitionobject
The structured filter representation of a filter query.
isExternalboolean

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

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

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

workspaceAccessLevelstring or null

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 null
The users explicitly connected to this filter.
teamslist of objects or null
The teams explicitly connected to this filter.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error