Delete assistant
DELETEhttps:/api.openai.com/v1/assistants/{assistant_id}
Delete an assistant.
Path parameters
assistant_id
string
Required
The ID of the assistant to delete.
Response
Deletion status
Example request
1 curl https://api.openai.com/v1/assistants/asst_abc123 \2 -H "Content-Type: application/json" \3 -H "Authorization: Bearer $OPENAI_API_KEY" \4 -H "OpenAI-Beta: assistants=v2" \5 -X DELETE
Example response
1 {2 "id": "asst_abc123",3 "object": "assistant.deleted",4 "deleted": true5 }
Built with