Merge saved table views

PATCH/api/v1/businesses/user-preferences/table-views

Upsert one or more table view blobs. Send empty views to remove a key. Include the expected version (or If-Match header) to avoid lost updates when multiple clients patch concurrently.

Operation ID: patch_table_views_api_v1_businesses_user_preferences_table_views_patch·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Headers

If-Matchstring

Request body

tablesobject

Table keys to upsert. Empty views removes the key.

versioninteger

Expected prefs version (If-Match alternative in PATCH body)

Responses

200Successful Response

successboolean
messagestring
codestring
dataTableViewsMapResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

409Conflict - Resource already exists

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject