Skip to content
Primary navigation

Delete a container

$ openai containers delete
DELETE/containers/{container_id}

Delete Container

ParametersExpand Collapse
--container-id: string

The ID of the container to delete.

Delete a container

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