Tables
Update a view
Changed onA compare-and-set on expectedVersion: a stale token is a 409 VIEW_VERSION_CONFLICT. Another user’s personal view is a 404 VIEW_NOT_FOUND, never a 403 that confirms it exists.
patch/v1/tables/{tableId}/views/{viewId}
Request
- Base URLhttps://api.banksync.io
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
tableId, string required
Table ID
viewId, string required
View ID
Request body
object required
name, string
icon, string nullable
query, object
fields, object
calculations, object
decorations, union[]
density, 'comfortable' | 'compact' | 'tight'
toolbar, object
layout, union
expectedVersion, integer required
Response
View updated
object required
success, true required
data, object required
Changes
- info
the
pinnedrequest property default value changed fromfiltersortgroupfieldsto - info
the
pinnedresponse's property default value changed fromfiltersortgroupfieldstofor the status - info
the
toolbarresponse's property default value changed from{"pinned":["filter","sort","group","fields"]}to{"pinned":[]}for the status
- info