---
title: "GET /api/dcv/session_sharing/grants"
method: GET
path: "/api/dcv/session_sharing/grants"
tags: ["Virtual Desktops"]
---

# GET /api/dcv/session_sharing/grants

`GET /api/dcv/session_sharing/grants`

GET operation for /api/dcv/session_sharing/grants

## Query parameters

- `all` 'true' | 'false'
- `session_id` string
- `guest_username` string
- `status` string

## Headers

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

## Response `200`

List of grants

- object
  - `success` boolean
  - `message` object[]

## Other responses

- `400` — Missing required filter parameter
- `403` — Admin privileges required for all=true
- `503` — Session sharing not enabled

---

[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)
