---
title: "PUT /api/dcv/session_sharing/settings"
method: PUT
path: "/api/dcv/session_sharing/settings"
tags: ["Virtual Desktops"]
---

# PUT /api/dcv/session_sharing/settings

`PUT /api/dcv/session_sharing/settings`

PUT operation for /api/dcv/session_sharing/settings

## Headers

- `X-EDH-USER` string, required
- `X-EDH-TOKEN` string, required

## Request body

- object
  - `allow_unsupervised_access` boolean — Whether to allow unsupervised sharing access
  - `guest_screenshot_enabled` boolean — Whether guests can see session screenshots
  - `allowed_sharing_modes` string[] — List of allowed sharing modes (e.g. none, secure, link)

## Response `200`

Settings updated successfully

- object
  - `success` boolean
  - `message` object

## Other responses

- `400` — Invalid request (bad format or no recognized settings)

---

[API](https://skmtc.dev/aws-samples/apis/engineering-development-hub-edh-api.md) · [All operations](https://skmtc.dev/aws-samples/apis/engineering-development-hub-edh-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aws-samples/engineering-development-hub-edh-api/revisions/058396b8f0f1/schema)
