Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 608 Bytes

File metadata and controls

34 lines (24 loc) · 608 Bytes

Delete a container

delete /containers/{container_id}

Delete Container

Path Parameters

  • container_id: string

Example

curl https://api.openai.com/v1/containers/$CONTAINER_ID \
    -X DELETE \
    -H "Authorization: Bearer $OPENAI_API_KEY"

Example

curl -X DELETE https://api.openai.com/v1/containers/cntr_682dfebaacac8198bbfe9c2474fb6f4a085685cbe3cb5863 \
  -H "Authorization: Bearer $OPENAI_API_KEY"

Response

{
    "id": "cntr_682dfebaacac8198bbfe9c2474fb6f4a085685cbe3cb5863",
    "object": "container.deleted",
    "deleted": true
}