---
title: "Delete a container"
method: DELETE
path: "/containers/{container_id}"
---

# Delete a container

`DELETE /containers/{container_id}`

Delete Container

## Path parameters

- `container_id` string, required

## Response `200`

OK

- object
  - `object` 'container.deleted', required
  - `deleted` boolean, required
  - `id` string, required

## Other responses

- `404` — The container was not found.
- `429` — The request was rejected because a rate limit was exceeded.

## Changes

- **2026-09-28** `15eecad37dc3` — 1 info
  - added the media type `application/json` for the response with the status `200`
- **2026-09-28** `17f4bc11b90f` — 1 info
  - added the non-success response with the status `404`
- **2026-09-08** `bb9b3b410112` — 1 info
  - added the non-success response with the status `429`
- **2026-05-13** `74cbcf73838f` — 1 info
  - endpoint added
- **2024-08-23** `5856f8b0c850` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/openai/apis/openapi/changes/containers/:container_id/delete.md)

---

[API](https://skmtc.dev/openai/apis/openapi.md) · [All operations](https://skmtc.dev/openai/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc.dev/openai/apis/openapi/revisions/15eecad37dc3?raw)
