---
ai:
  exclude: true
search:
  tags:
    - filter
    - PUT
seo:
  description: >-
    Sets the default columns for the given filter. Reference for the PUT
    /api/2/filter/{id}/columns endpoint in the Jira Software Data Center REST
    API Reference.
sidebar:
  label: Set default columns for filter
  badge: PUT
title: Set default columns for filter
type: openapi-operation
---
Sets the default columns for the given filter

`PUT /api/2/filter/{id}/columns`

**Request body** (`*/*`)

- `columns` (string[])

Request body example:

```json
{
  "columns": [
    "string"
  ]
}
```

**Responses**

- `200` — Returned when the columns are saved successfully
- `500` — Returned if an error occurs while retrieving the column configuration.
