| Name | Type | Description |
|---|---|---|
thread_id* | str | The ID of the thread to delete. |
headers | Mapping[str, str] | None | Default: NoneOptional custom headers to include with the request. |
params | QueryParamTypes | None | Default: None |
Delete a thread.
client = get_client(url="http://localhost2024)
await client.threads.delete(
thread_id="my_thread_id"
)Optional query parameters to include with the request.