DELETE
Delete Video
Videos
3 min read
Permanently delete a video and all associated data including scenes, media, and render jobs.
DELETE
https://api.videopilot.app/api/videos/{id}
This endpoint requires authentication. Include your API key in the Authorization header.
Parameters
The following parameters are supported for this endpoint:
Name | Type | Required | Default | Description |
---|---|---|---|---|
id path | string | Required | - | The unique identifier of the video Example: "video_123abc" |
Code Examples
Example requests in multiple programming languages:
curl -X DELETE https://api.videopilot.app/api/videos/video_123abc \
-H "Authorization: Bearer YOUR_API_KEY"
Responses
Possible responses from this endpoint:
200
Video deleted successfully
Example Response
JSON
{
"message": "Video deleted successfully",
"deletedId": "video_123abc"
}
401
Authentication required
404
Video not found
Try It Out
Test this endpoint directly from your browser:
Your API key is only used for this session and never stored or logged.
DELETE
/api/videos/{id}
Generated cURL Command
Copy this command to use in your terminal
"text-blue-400 font-semibold">curl -X DELETE https://api.videopilot.app/api/videos/{id} \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
Response
Make a request to see the response here