Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Delete a container

$ openai containers delete
DELETE
/containers/{container_id}

Delete Container

Delete a container

openai containers delete \
  --api-key 'My API Key' \
  --container-id container_id
Response example
{
    "id": "cntr_682dfebaacac8198bbfe9c2474fb6f4a085685cbe3cb5863",
    "object": "container.deleted",
    "deleted": true
}
Parameters
--container-id: string

The ID of the container to delete.

Returns Examples
Response example
{
    "id": "cntr_682dfebaacac8198bbfe9c2474fb6f4a085685cbe3cb5863",
    "object": "container.deleted",
    "deleted": true
}