---
title: "PATCH /views"
method: PATCH
path: "/views"
tags: ["views"]
---

# PATCH /views

`PATCH /views`

## Query parameters

- `id` string, uuid
- `created_at` string, timestamp with time zone
- `order` string, integer
- `title` string, text
- `type` string, public.view_type_enum
- `table_id` string, uuid
- `required` string, boolean
- `group_by_property_id` string, uuid

## Headers

- `Prefer` 'return=representation' | 'return=minimal' | 'return=none'

## Request body

- Views
  - `id` string, uuid, required — Note: This is a Primary Key.<pk/>
  - `created_at` string, timestamp with time zone, required
  - `order` integer
  - `title` string, text
  - `type` 'board' | 'calendar' | 'list' | 'table' | 'dashboard', public.view_type_enum
  - `table_id` string, uuid — Note: This is a Foreign Key to `tables.id`.<fk table='tables' column='id'/>
  - `required` boolean
  - `group_by_property_id` string, uuid

## Response `204`

No Content

---

[API](https://skmtc.net/revent-app/apis/standard-public-schema.md) · [All operations](https://skmtc.net/revent-app/apis/standard-public-schema/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/revent-app/standard-public-schema/revisions/90ce877204f2/schema)
