# Delete assistant div strong 🔨 In Development — This section is still being developed and may change. Soft delete an assistant by setting it as inactive. The assistant will no longer be available for use but can be restored. #### Path Parameters **`assistant_id`** string required The unique identifier of the assistant to delete. Delete Assistant ```bash curl https://api.freddy.aitronos.com/v1/assistants/asst_abc123 \ -X DELETE \ -H "Authorization: Bearer $FREDDY_API_KEY" ``` ```python import requests response = requests.delete( "https://api.freddy.aitronos.com/v1/assistants/asst_abc123", headers={"Authorization": f"Bearer {api_key}"} ) if response.status_code == 200: print("Assistant deleted successfully") ``` ```javascript const response = await fetch('https://api.freddy.aitronos.com/v1/assistants/asst_abc123', { method: 'DELETE', headers: { 'Authorization': `Bearer ${api_key}` } }); if (response.ok) { console.log('Assistant deleted successfully'); } ``` ## Response **Returns** A confirmation message indicating successful deletion. 200 OK ```json { "id": "asst_abc123", "deleted": true, "message": "Assistant deleted successfully" } ``` Errors ```json { "error": { "code": "assistant_not_found", "message": "Assistant with ID 'asst_abc123' not found", "trace_id": "trace_abc123" } } ```