---
title: "Give a saved view its own dashboard (mode \"own\": starts as a copy of the object's panels) or hand it back to the object's shared one (mode \"shared\")"
method: POST
path: "/crm/objects/{objectName}/views/{viewName}/analytics/scope"
tags: ["crm"]
---

# Give a saved view its own dashboard (mode "own": starts as a copy of the object's panels) or hand it back to the object's shared one (mode "shared")

`POST /crm/objects/{objectName}/views/{viewName}/analytics/scope`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/crm/objects/{objectName}/views/{viewName}/analytics/scope`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Give a saved view its own dashboard (mode "own": starts as a copy of the object's panels) or hand it back to the object's shared one (mode "shared").

## Path parameters

- `objectName` string, required
- `viewName` string, required

## Request body

- object
  - `mode` 'own' | 'shared', required: "own": the view gets its own dashboard (a copy of the object's panels); "shared": it shows the object's again.

## Response `200`

Successful response

- object
  - `ok` boolean, required
  - `changed` boolean, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

[API](https://skmtc.dev/dench/apis/dench-api.md) - [All operations](https://skmtc.dev/dench/apis/dench-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dench/apis/dench-api/revisions/4a145b38f19c?raw)
