python/resources/containers/methods/delete/index.md +0 −25 deleted
File Deleted View Diff
1## Delete a container
2
3`containers.delete(strcontainer_id)`
4
5**delete** `/containers/{container_id}`
6
7Delete Container
8
9### Parameters
10
11- `container_id: str`
12
13### Example
14
15```python
16import os
17from openai import OpenAI
18
19client = OpenAI(
20 api_key=os.environ.get("OPENAI_API_KEY"), # This is the default and can be omitted
21)
22client.containers.delete(
23 "container_id",
24)
25```