Skip to main content
PUT
/
filter
/
{id}
Update Filter
curl --request PUT \
  --url http://{host}:{port}/{contextPath}/filter/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "resourceType": "Task",
  "name": "My Tasks",
  "owner": "jonny1",
  "query": {
    "assignee": "jonny1"
  },
  "properties": {
    "color": "#99CCFF",
    "description": "Tasks assigned to me",
    "priority": -10
  }
}
'
{
  "type": "<string>",
  "message": "<string>",
  "code": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The id of the filter to be updated.

Body

application/json
resourceType
string | null

The resource type of the filter.

name
string | null

The name of the filter.

owner
string | null

The user id of the owner of the filter.

query
object

The query of the filter as a JSON object.

properties
object

The properties of a filter as a JSON object.

Response

Request successful. This method returns no content.