---
title: "Updates a filter template"
method: PUT
path: "/filtertemplate"
tags: ["Filter templates"]
---

# Updates a filter template

`PUT /filtertemplate`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

## Request body

- FilterTemplateUpdateModel
  - `FilterTemplateId` integer
  - `Name` string
  - `AiAssistantEnabled` boolean
  - `MaxFacets` integer, nullable
  - `NumberOfExpandedFacets` integer, nullable

## Response `200`

OK

- integer

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/tweakwise/apis/app-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/app-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/app-api/revisions/dc936bf76941?raw)
