---
title: "Stop virtual desktop"
method: PUT
path: "/api/dcv/virtual_desktops/stop"
tags: ["Virtual Desktops"]
---

# Stop virtual desktop

`PUT /api/dcv/virtual_desktops/stop`

Stop or hibernate a DCV virtual desktop session, automatically detecting hibernation capability

## Headers

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

## Response `200`

Desktop stop/hibernate initiated successfully

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

## Other responses

- `400` — Missing required parameter
- `401` — Session not found or already stopped
- `500` — Failed to stop desktop

---

[API](https://skmtc.net/aws-samples/apis/engineering-development-hub-edh-api.md) · [All operations](https://skmtc.net/aws-samples/apis/engineering-development-hub-edh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws-samples/engineering-development-hub-edh-api/versions/6db97cead8df/schema)
