cURL
curl --request DELETE \ --url https://api.duohub.ai/files/delete/{id} \ --header 'X-API-Key: <api-key>'
{ "status": "success", "message": "File deleted successfully" }
Delete a file from the system
Documentation IndexFetch the complete documentation index at: https://docs.duohub.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.duohub.ai/llms.txt
Use this file to discover all available pages before exploring further.
Your duohub API key. Type: str
ID of the file to delete
File deleted successfully
success
Success message