# Delete preset prompt div strong 🔨 In Development — This section is still being developed and may change. Remove a preset prompt from an assistant. The prompt will no longer be available for quick-start conversations. #### Path Parameters **`assistant_id`** string required The unique identifier of the assistant to remove the preset prompt from. **`prompt_id`** integer required The unique identifier of the preset prompt to delete. Delete Preset Prompt ```bash curl https://api.freddy.aitronos.com/v1/assistants/ass_0c23daea5e34/preset-prompts/1 \ -X DELETE \ -H "Authorization: Bearer $FREDDY_API_KEY" ``` ```python import requests response = requests.delete( "https://api.freddy.aitronos.com/v1/assistants/ass_0c23daea5e34/preset-prompts/1", headers={"Authorization": f"Bearer {api_key}"} ) if response.status_code == 200: print("Preset prompt deleted successfully") ``` ```javascript const response = await fetch('https://api.freddy.aitronos.com/v1/assistants/ass_0c23daea5e34/preset-prompts/1', { method: 'DELETE', headers: { 'Authorization': `Bearer ${api_key}` } }); if (response.ok) { console.log('Preset prompt deleted successfully'); } ``` ## Response **Returns** A confirmation message indicating successful deletion. 200 OK ```json { "preset_prompt_id": 1, "assistant_id": "ass_0c23daea5e34", "deleted": true, "message": "Preset prompt deleted successfully" } ``` Errors ```json { "message": "Preset prompt not found", "detail": "Preset prompt with ID '1' not found for assistant 'ass_0c23daea5e34'", "error_code": "PRESET_PROMPT_NOT_FOUND", "status_code": 404, "path": "/v1/assistants/ass_0c23daea5e34/preset-prompts/1", "method": "DELETE" } ```