Delete File
Delete a file and its associated data from the database and cloud storage
Delete a file and all associated data from storage.
Path Parameter
file_id(string, required)
Example Request
curl -X DELETE "https://api.vidnavigator.com/v1/file/file_abc123/delete" \
-H "X-API-Key: YOUR_API_KEY"Success Response (200 OK)
Returns a confirmation that the file and its associated data have been successfully deleted.
{
"status": "success",
"data": {
"file_id": "file_abc123",
"file_name": "video_to_delete.mp4",
"message": "File deleted successfully"
}
}API reference
ApiKeyAuthheader
X-API-Key<token>API key authentication. Include your VidNavigator API key in the X-API-Key header.
file_id*stringThe ID of the file to delete
File deleted successfully
application/json- response
status?"success"Value in
"success"data?curl -X DELETE 'https://api.vidnavigator.com/v1/file/string/delete'Example Response
{ "status": "success", "data": { "file_id": "string", "file_name": "string", "message": "string" }}