---
title: "Update Stateful Node States"
method: PUT
path: "/aws/ec2/managedInstance/state"
tags: ["Stateful Node AWS"]
---

# Update Stateful Node States

`PUT /aws/ec2/managedInstance/state`

Update the state of multiple Stateful Nodes.

## Parameters

- `#/paths/~1azure~1costs/get/parameters/0` — unresolved $ref

## Request body

- object — Contains the details of a request to update Stateful Node states.
  - `managedInstanceStates` object[], required — An array of Stateful Node State objects (must contain at least 1 object).
    - `id` string, required — Identifier of the Stateful Node.
    - `state` 'PAUSE' | 'RESUME', required — The new state of the Stateful Node.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
