Update view
Update view using the reviewed public Micro API contract. Authentication uses the x-api-key header.
/v2/prism/{teamId}/{objectType}/views/{viewId}Authorization
apiKey Public API key generated from Micro settings. Sent as the x-api-key header and validated by AWS API Gateway in front of the service.
In: header
Path Parameters
uuidValue in
- "comment"
- "action"
- "deal"
- "engagement"
- "document"
- "event"
- "identity"
- "organization"
uuidHeader Parameters
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.
1 <= length <= 255Request Body
application/json
Partial update. Any of select/filter/sort, when present, replaces that group wholesale.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://developers.micro.so/v2/prism/${MICRO_TEAM_ID}/comment/views/${VIEW_ID}" \ -H "x-api-key: $MICRO_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "team_id": "810007d0-bec5-486c-b5d1-28fcd8a079ba", "list_id": "430bbdbc-9d7f-4d06-a273-67ca4ba4ae4b", "user_id": "string", "name": "string", "icon": "string", "view_type": "string", "combinator": "AND", "sort_order": 0, "column_layout": {}, "group_by": "string", "group_sort": "string", "group_hide_empty": true, "group_hidden_option_ids": [], "aggregation_type": "string", "aggregation_prop_def_id": "f2e3c603-7b25-462c-b4a5-354ca65d9bdc", "select": [ "string" ], "filter": [ {} ], "sort": [ {} ], "created_at": "string", "updated_at": "string"}