---
title: "Upsert multiple scenario view configs in a single atomic request"
method: POST
path: "/v1/org/{orgId}/scenario/{scenarioId}/update-shared-views"
tags: ["scenario"]
---

# Upsert multiple scenario view configs in a single atomic request

`POST /v1/org/{orgId}/scenario/{scenarioId}/update-shared-views`

## Path parameters

- `orgId` string, required
- `scenarioId` string, required

## Request body

- ScenarioSharedViewConfig[]
  - `customColumnNames` string[] — list of column names to display
  - `columnWidths` object — map of column names to widths
  - `type` 'ALL_CHANGES_GROUPED' | 'CREATE' | 'HIRE' | 'DELETE' | 'DEPART' | 'COMP' | 'UPDATE' | 'MOVE' — type of view
  - `updateId` string — update id
  - `updateAt` string — update at

## Other responses

- `400` — invalid data
- `401` — not authorized
- `403` — permission denied
- `404` — not found

---

[API](https://skmtc.dev/charthop/apis/charthop-api.md) · [All operations](https://skmtc.dev/charthop/apis/charthop-api/llms.txt) · [OpenAPI document](https://skmtc.dev/charthop/apis/charthop-api/revisions/48ee121dbea6?raw)
