Update a view bundle (select/filter/sort arrays are replaced wholesale when supplied)

patch/v2/prism/{teamId}/contact/views/{viewId}

Path parameters

teamIdstring uuid required
viewIdstring uuid required

Headers

Idempotency-Keystring

A unique key (UUID or any opaque string up to 255 chars) for an authenticated POST, PUT, or PATCH request. The server retains the initial claim for 24 hours and replays a completed non-5xx response only when the method, path, and request body all match. Reusing a non-expired key with a different method, path, or body returns 409 idempotency_key_mismatch; reusing it after expiry returns 409 idempotency_key_stale, so use a new key. Replays include the idempotent-replay: true response header.

Request body

namestring
iconstring nullable
view_typestring
combinator'AND' | 'OR'
sort_orderinteger nullable
column_layoutobject nullable
team_idstring uuid nullable
list_idstring uuid nullable
user_idstring nullable
group_bystring nullable
group_sortstring nullable
group_hide_emptyboolean nullable
group_hidden_option_idsobject nullable
aggregation_typestring nullable
aggregation_prop_def_idstring uuid nullable
selectstring[]
filterobject[]
sortobject[]

Response

OK

idstring uuid
team_idstring uuid nullable
list_idstring uuid nullable
user_idstring nullable
namestring required
iconstring nullable
view_typestring required
combinator'AND' | 'OR'
sort_orderinteger nullable
column_layoutobject nullable
group_bystring nullable

Property slug to group by

group_sortstring nullable
group_hide_emptyboolean nullable
group_hidden_option_idsobject nullable
aggregation_typestring nullable
aggregation_prop_def_idstring uuid nullable
selectstring[]

Property slugs (dot-paths permitted for refs)

filterobject[]

Each entry is { slug: { comparator: value } }

sortobject[]

Each entry is { slug: 'asc' | 'desc' }

created_atstring
updated_atstring nullable

Changes

Changed in 1 of the 29 revisions of this API.1