Assistants
Delete Assistant
API Reference
- Introduction
- Authentication
- Headers
- Errors
- Supported Providers
- SDKs
- API Details
Chat Completions
Portkey Endpoints
Embeddings
Other APIs
Completions
Moderations
Fine-tuning
Assistants
- Assistants
- Threads
- Messages
- Runs
- Run Steps
Delete Assistant
DELETE
/
assistants
/
{assistant_id}
curl https://api.portkey.ai/v1/assistants/asst_abc123 \
-H "Content-Type: application/json" \
-H "x-portkey-api-key: $PORTKEY_API_KEY" \
-H "x-portkey-virtual-key: $PORTKEY_PROVIDER_VIRTUAL_KEY" \
-H "OpenAI-Beta: assistants=v2" \
-X DELETE
{
"id": "<string>",
"deleted": true,
"object": "assistant.deleted"
}
Path Parameters
The ID of the assistant to delete.
Response
200 - application/json
OK
The response is of type object
.
Was this page helpful?
curl https://api.portkey.ai/v1/assistants/asst_abc123 \
-H "Content-Type: application/json" \
-H "x-portkey-api-key: $PORTKEY_API_KEY" \
-H "x-portkey-virtual-key: $PORTKEY_PROVIDER_VIRTUAL_KEY" \
-H "OpenAI-Beta: assistants=v2" \
-X DELETE
{
"id": "<string>",
"deleted": true,
"object": "assistant.deleted"
}