v25

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0131545750.2 KB

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) that identifies this logical request. The server caches the first response under this key for 24 hours and replays it on retry — safe to use on every POST/PUT/PATCH to make network retries deterministic. Reusing the same key with a different body returns 409 idempotency_key_mismatch. 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