curl -X DELETE \
https://studio.dubformer.ai/api/projects/PROJECT_ID/videos/VIDEO_ID \
-H 'Authorization: Bearer YOUR_API_KEY'
import axios from 'axios';
const response = await axios.delete(
'https://studio.dubformer.ai/api/projects/PROJECT_ID/videos/VIDEO_ID',
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
}
);
console.log(response.data); // { deleted: true }
{
"deleted": true
}
Project Videos
Delete Project Video
Delete a video from a project
DELETE
/
api
/
projects
/
{projectId}
/
videos
/
{videoId}
curl -X DELETE \
https://studio.dubformer.ai/api/projects/PROJECT_ID/videos/VIDEO_ID \
-H 'Authorization: Bearer YOUR_API_KEY'
import axios from 'axios';
const response = await axios.delete(
'https://studio.dubformer.ai/api/projects/PROJECT_ID/videos/VIDEO_ID',
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
}
);
console.log(response.data); // { deleted: true }
{
"deleted": true
}
This endpoint allows you to delete a video from a project. The video will be marked as deleted and become unavailable.
Path Parameters
string
required
The unique identifier of the project.
string
required
The unique identifier of the video to delete.
Response
boolean
required
Will be true if the video was deleted successfully.
curl -X DELETE \
https://studio.dubformer.ai/api/projects/PROJECT_ID/videos/VIDEO_ID \
-H 'Authorization: Bearer YOUR_API_KEY'
import axios from 'axios';
const response = await axios.delete(
'https://studio.dubformer.ai/api/projects/PROJECT_ID/videos/VIDEO_ID',
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
}
);
console.log(response.data); // { deleted: true }
{
"deleted": true
}
{
"error": "Not Found"
}
Notes
- The video must exist and belong to a project that you have access to
- The video will be marked as deleted and become unavailable
- This operation is irreversible