Sample - OpenAI API
DELETE/assistants/{assistant_id}Deprecated

Delete an assistant

Deletes an assistant identified by assistant_id. Use this operation when the assistant is no longer needed. This operation is deprecated.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
assistant_idstringrequired
Identifier of the assistant to delete.

2 status codes
200Returns a deletion confirmation containing the assistant identifier, `deleted` status, and `assistant.deleted` object type.
idstringrequired
deletedbooleanrequired
objectstringrequired
Allowed:assistant.deleted
429Returned when the request was rejected because the rate limit was exceeded.
errorobjectrequired

Error handling

A 429 is returned when the request exceeds the rate limit. assistant_id must identify the assistant to delete.