For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending
.mdto the page URL.
Delete a container
delete /containers/{container_id}
Delete Container
Path Parameters
-
container_id: stringThe ID of the container to delete.
Returns
-
id: string -
deleted: boolean -
object: "container.deleted""container.deleted"
Example
curl -X DELETE https://api.openai.com/v1/containers/cntr_682dfebaacac8198bbfe9c2474fb6f4a085685cbe3cb5863 \
-H "Authorization: Bearer $OPENAI_API_KEY"
Response example
{
"id": "cntr_682dfebaacac8198bbfe9c2474fb6f4a085685cbe3cb5863",
"object": "container.deleted",
"deleted": true
}