---
title: "Remove container"
method: DELETE
path: "/docker/containers/{sessionId}/{containerId}/remove"
tags: ["Docker"]
---

# Remove container

`DELETE /docker/containers/{sessionId}/{containerId}/remove`

Removes a specific container.

## Path parameters

- `sessionId` string, required
- `containerId` string, required

## Query parameters

- `force` boolean

## Response `200`

Container removed successfully.

## Other responses

- `400` — SSH session not found or not connected, or cannot remove a running container.
- `404` — Container not found.
- `500` — Failed to remove container.

---

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