cURL
curl --request DELETE \ --url https://api.vidnavigator.com/v1/file/{file_id}/delete \ --header 'X-API-Key: <api-key>'
{ "status": "success", "data": { "file_id": "<string>", "file_name": "<string>", "message": "<string>" } }
Delete a file and its associated data from the database and cloud storage
file_id
curl -X DELETE "https://api.vidnavigator.com/v1/file/file_abc123/delete" \ -H "X-API-Key: YOUR_API_KEY"
{ "status": "success", "data": { "file_id": "file_abc123", "file_name": "video_to_delete.mp4", "message": "File deleted successfully" } }
API key authentication. Include your VidNavigator API key in the X-API-Key header.
The ID of the file to delete
File deleted successfully
success
Show child attributes