---
title: "PATCH /api/database/views/{view_id}/field-options/"
method: PATCH
path: "/api/database/views/{view_id}/field-options/"
tags: ["Database table views"]
---

# PATCH /api/database/views/{view_id}/field-options/

`PATCH /api/database/views/{view_id}/field-options/`

Updates the field options of a view. The field options differ per field type  This could for example be used to update the field width of a `grid` view if the user changes it.

## Path parameters

- `view_id` integer, required

## Headers

- `ClientSessionId` string, uuid
- `ClientUndoRedoActionGroupId` string, uuid

## Request body

- union
  - GridViewFieldOptions
    - `field_options` object, required — An object containing the field id as key and the properties related to view as value.
  - GalleryViewFieldOptions
    - `field_options` object, required — An object containing the field id as key and the properties related to view as value.
  - FormViewFieldOptions
    - `field_options` object, required — An object containing the field id as key and the properties related to view as value.
  - KanbanViewFieldOptions
    - `field_options` object, required — An object containing the field id as key and the properties related to view as value.
  - CalendarViewFieldOptions
    - `field_options` object, required — An object containing the field id as key and the properties related to view as value.
  - TimelineViewFieldOptions
    - `field_options` object, required — An object containing the field id as key and the properties related to view as value.

## Response `200`

- union
  - GridViewFieldOptions
    - `field_options` object, required — An object containing the field id as key and the properties related to view as value.
  - GalleryViewFieldOptions
    - `field_options` object, required — An object containing the field id as key and the properties related to view as value.
  - FormViewFieldOptions
    - `field_options` object, required — An object containing the field id as key and the properties related to view as value.
  - KanbanViewFieldOptions
    - `field_options` object, required — An object containing the field id as key and the properties related to view as value.
  - CalendarViewFieldOptions
    - `field_options` object, required — An object containing the field id as key and the properties related to view as value.
  - TimelineViewFieldOptions
    - `field_options` object, required — An object containing the field id as key and the properties related to view as value.

## Other responses

- `400`
- `404`

---

[API](https://skmtc.net/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.net/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/versions/0c490e5b0c7f/schema)
