Update filter group

PUT /data/user/filter-groups/{filter_group_id}

Update an existing filter group if it is owned by the current user. Allows modification of filter group properties.

Path parameters

  • filter_group_id string(uuid) Required

    Filter group unique identifier

application/json

Body Required

  • name string

    Filter group name

  • color string

    Filter group color

  • is_shared boolean

    Whether to share this filter group

  • project_id string(uuid)

    Project identifier

  • department_id string(uuid)

    Department identifier

Responses

  • 200 application/json

    Filter group updated successfully

    Hide response attributes Show response attributes object
    • id string(uuid)

      Filter group unique identifier

    • name string

      Filter group name

    • color string

      Filter group color

    • list_type string

      List type

    • entity_type string

      Entity type

    • project_id string(uuid)

      Project identifier

    • is_shared boolean

      Whether filter group is shared

    • created_at string(date-time)

      Creation timestamp

    • updated_at string(date-time)

      Last update timestamp

PUT /data/user/filter-groups/{filter_group_id}
curl \
 --request PUT 'http://api.example.com/data/user/filter-groups/a24a6ea4-ce75-4665-a070-57453082c25' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"name":"Updated Filter Group","color":"#00FF00","is_shared":true,"project_id":"b35b7fb5-df86-5776-b181-68564193d36","department_id":"c46c8gc6-eg97-6887-c292-79675204e47"}'
Request examples
{
  "name": "Updated Filter Group",
  "color": "#00FF00",
  "is_shared": true,
  "project_id": "b35b7fb5-df86-5776-b181-68564193d36",
  "department_id": "c46c8gc6-eg97-6887-c292-79675204e47"
}
Response examples (200)
{
  "id": "d57d9hd7-fh08-7998-d403-80786315f58",
  "name": "Updated Filter Group",
  "color": "#00FF00",
  "list_type": "todo",
  "entity_type": "Asset",
  "project_id": "e68e0ie8-gi19-8009-e514-91897426g69",
  "is_shared": true,
  "created_at": "2023-01-01T12:00:00Z",
  "updated_at": "2023-01-01T12:30:00Z"
}