---
title: "PUT /workspaces/docker-cloud-instances/terminate"
method: PUT
path: "/workspaces/docker-cloud-instances/terminate"
tags: ["Workspaces - Providers - Cloud Instances"]
---

# PUT /workspaces/docker-cloud-instances/terminate

`PUT /workspaces/docker-cloud-instances/terminate`

## Request body

- DockerCloudInstance
  - `id` string
  - `name` string
  - `providerId` string
  - `regionName` string
  - `zone` DockerProviderZone
    - `name` string
  - `machineInstance` DockerMachineInstance
    - `name` string
    - `memAvailable` number, double
  - `instanceId` string
  - `created` string, date-time
  - `lastModified` string, date-time
  - `errorCount` integer
  - `batchId` string
  - `state` 'RUNNING' | 'TERMINATING', nullable

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `429` — Too Many Requests

## Changes

- **2026-09-26** `65e661618b8f` — 1 info
  - api operation id `K` removed and replaced with `s`
- **2026-09-15** `4da8c9536717` — 1 info
  - api operation id `n` removed and replaced with `K`
- **2026-09-15** `e2458537595b` — 1 info
  - api operation id `e` removed and replaced with `n`
- **2026-09-11** `2e438cb3181d` — 1 info
  - api operation id `o` removed and replaced with `e`
- **2026-09-07** `50527361f800` — 1 info
  - api operation id `Y` removed and replaced with `o`

[Full history](https://skmtc.dev/octoperf/apis/octoperf-api/changes/workspaces/docker-cloud-instances/terminate/put.md)

---

[API](https://skmtc.dev/octoperf/apis/octoperf-api.md) · [All operations](https://skmtc.dev/octoperf/apis/octoperf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/octoperf/apis/octoperf-api/revisions/65e661618b8f?raw)
