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

# Update virtual desktop schedule

`PUT /api/dcv/virtual_desktops/schedule`

Update the start/stop schedule for a DCV virtual desktop session

## Headers

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

## Response `200`

Schedule updated successfully

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

## Other responses

- `400` — Invalid parameters or schedule format
- `401` — Unauthorized or session not found
- `500` — Database error during update

---

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