---
title: "PUT /containers/{handle}/state"
method: PUT
path: "/containers/{handle}/state"
tags: ["containers"]
---

# PUT /containers/{handle}/state

`PUT /containers/{handle}/state`

Changes the state of a container

## Path parameters

- `handle` string, required

## Request body

- 'RUNNING' | 'STOPPED'

## Response `200`

OK

- string

## Other responses

- `404` — not found
- `default` — Error

---

[API](https://skmtc.dev/vmware/apis/port-layer-api.md) · [All operations](https://skmtc.dev/vmware/apis/port-layer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vmware/port-layer-api/revisions/5fff0b8814c7/schema)
