Update a database view
View as Markdown/v1/database-views/{id}Changes the view's type and/or replaces the given top-level config fields (filter, sorts, groupBy, subGroupBy, columns, limit, summaries, layout); fields not given stay.
curl -X PATCH "https://api.lydie.co/v1/database-views/01JCQ3V5MZ8G4ZK2X7T9R6N1PB" \
-H "Authorization: Bearer $LYDIE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'Path parameters
Body
- typestring
One of
tableboardlistcalendargallery - configViewConfigPatchInput
Default
{}Show 9 fieldsHide fields
- sortsobject[]
Show 2 fieldsHide fields
- directionstring
One of
ascdescDefault
"asc"
Show 6 fieldsHide fields
- directionstring
One of
ascdescDefault
"asc" - orderstring[]
- hideEmptyboolean
Hide groups with no rows (board columns).
- dateBucketstring
Date grouping; default month.
One of
dayweekmonthyear - collapsedstring[]
Board swimlanes.
Show 6 fieldsHide fields
- directionstring
One of
ascdescDefault
"asc" - orderstring[]
- hideEmptyboolean
Hide groups with no rows (board columns).
- dateBucketstring
Date grouping; default month.
One of
dayweekmonthyear - collapsedstring[]
- columnsViewColumnInput[]
Show 3 fieldsHide fields
- visibleboolean
Default
true
- summariesobject
propertyId → summary name
- layoutViewLayoutInput
Show 11 fieldsHide fields
- rowHeightstring
table
One of
shortmediumtallextra - wrapCellsboolean
table
board, gallery: px
board, gallery: the card image
- coverFitstring
One of
covercontain - markersstring
list
One of
bulletnumbernone calendar: the date property placing rows
- calendarModestring
One of
monthweek - showWeekendsboolean
- colorColumnsboolean
board
- extraobject
Response
- idULID
- databaseIdULID
- typestring
One of
tableboardlistcalendargallery - configViewConfig
Show 9 fieldsHide fields
Default
null- sortsobject[]
Default
[]Show 2 fieldsHide fields
- propertyIdULID
- directionstring
One of
ascdescDefault
"asc"
Default
nullShow 6 fieldsHide fields
- propertyIdULID
- directionstring
One of
ascdescDefault
"asc" Hide groups with no rows (board columns).
Date grouping; default month.
One of
dayweekmonthyear
Board swimlanes.
Default
nullShow 6 fieldsHide fields
- propertyIdULID
- directionstring
One of
ascdescDefault
"asc" Hide groups with no rows (board columns).
Date grouping; default month.
One of
dayweekmonthyear
- columnsViewColumn[]
Default
[]Show 3 fieldsHide fields
- propertyIdULID
- visibleboolean
Default
true
Default
null- summariesobject
propertyId → summary name
Default
{} - layoutViewLayout
Default
{}Show 11 fieldsHide fields
table
One of
shortmediumtallextratable
board, gallery: px
board, gallery: the card image
One of
covercontainlist
One of
bulletnumbernonecalendar: the date property placing rows
One of
monthweekboard
- extraobject
Default
{}
- createdAttimestamp
- updatedAttimestamp
{
"id": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
"workspaceId": "01JCQ3TZ0WJ8K4M2X7T9R6N1PA",
"databaseId": "01JCQ3V5MZ8G4ZK2X7T9R6N1PB",
"name": "Notes",
"type": "table",
"config": {
"filter": null,
"sorts": [],
"groupBy": null,
"subGroupBy": null,
"columns": [],
"limit": null,
"summaries": {},
"layout": {},
"extra": {}
},
"sortKey": "a0",
"createdAt": "2026-11-12T09:30:00.000Z",
"updatedAt": "2026-11-12T09:30:00.000Z",
"deletedAt": null,
"createdBy": null,
"updatedBy": null
}Errors use one envelope for every endpoint. See Errors and versions.