Delete a subtitle
Delete subtitle
Deleting a subtitle is done by sending a DELETE
request to the /videos/:videoId/texttracks/:texttrackId
endpoint.
curl -X DELETE https://app.ignitevideo.cloud/api/videos/[VIDEO_ID]/texttracks/[TEXTTRACK_ID] \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
Response
The response is the new Video object with the updated texttracks array, without the deleted subtitle.
{
"id": "[VIDEO_ID]",
"title": "Video title",
...
"texttracks": [
...
]
}