---
title: "Resize target node instance type"
method: PUT
path: "/api/target_nodes/resize"
tags: ["Target Nodes"]
---

# Resize target node instance type

`PUT /api/target_nodes/resize`

Modify the instance type of a target node session. The session must be in stopped state.

## Headers

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

## Response `200`

Virtual desktop successfully resized

- object
  - `success` boolean, required
  - `message` string, required

## Other responses

- `400` — Bad request - missing parameters or invalid instance type
- `401` — Unauthorized - invalid or missing authentication headers
- `403` — Forbidden - session not owned by user or session not in stopped state
- `500` — Internal server error - AWS API or database error

---

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