Skip to content

Delete assistant

Deprecated
DELETE/assistants/{assistant_id}

Delete an assistant.

Path ParametersExpand Collapse
assistant_id: string
ReturnsExpand Collapse
AssistantDeleted = object { id, deleted, object }
id: string
deleted: boolean
object: "assistant.deleted"

Delete assistant

curl https://api.openai.com/v1/assistants/$ASSISTANT_ID \
    -X DELETE \
    -H 'OpenAI-Beta: assistants=v2' \
    -H "Authorization: Bearer $OPENAI_API_KEY"
{
  "id": "id",
  "deleted": true,
  "object": "assistant.deleted"
}
Returns Examples
{
  "id": "id",
  "deleted": true,
  "object": "assistant.deleted"
}