cURL
curl --request DELETE \ --url https://api.example.com/api/files/{id} \ --header 'Authorization: <authorization>'
{ "data": { "result": { "success": true } } }
Delete a file and its uploaded content
Bearer <your-api-key>
curl -X DELETE \ https://dash.empirical.run/api/files/1 \ -H "Authorization: Bearer $EMPIRICALRUN_KEY"
Was this page helpful?