Deletes a resource record and removes the associated file from storage.
Request
Bearer token for authentication. Format: Bearer <your-api-key>
The resource ID to delete.
Response
Whether the deletion was successful.
{
"data": {
"result": {
"success": true
}
}
}
Example
curl -X DELETE \
https://dash.empirical.run/api/resources/1 \
-H "Authorization: Bearer $EMPIRICALRUN_KEY"