DELETE
/
files
/
delete
/
{id}
curl --request DELETE \
  --url https://api.duohub.ai/files/delete/{id} \
  --header 'X-API-Key: <api-key>'
{
  "status": "success",
  "message": "File deleted successfully"
}

Authorizations

X-API-Key
string
header
required

Your duohub API key. Type: str

Path Parameters

id
string
required

ID of the file to delete

Response

200
application/json
File deleted successfully
status
enum<string>
required
Available options:
success
message
string
required

Success message