Path Parameters
string
required
The unique identifier of the video to delete.
Response
boolean
Whether the deletion was successful.
string
A confirmation message.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Delete a video and its associated assets
DELETE /v1/videos/{id}
import requests
video_id = "vid_abc123"
response = requests.delete(
f"https://api.voidai.app/v1/videos/{video_id}",
headers={"Authorization": "Bearer sk-voidai-your_key_here"}
)
result = response.json()
print(result["message"])
const videoId = 'vid_abc123';
const response = await fetch(`https://api.voidai.app/v1/videos/${videoId}`, {
method: 'DELETE',
headers: {
'Authorization': 'Bearer sk-voidai-your_key_here'
}
});
const result = await response.json();
console.log(result.message);
curl -X DELETE https://api.voidai.app/v1/videos/vid_abc123 \
-H "Authorization: Bearer sk-voidai-your_key_here"
{
"success": true,
"message": "Video deleted successfully"
}
{
"error": {
"message": "Video not found",
"type": "api_error",
"code": "NOT_FOUND"
}
}
{
"error": {
"message": "You do not have permission to delete this video",
"type": "api_error",
"code": "FORBIDDEN"
}
}
