Skip to Content

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 Video object with the updated texttracks array, without the deleted text track. It is the video object, not { doc, message }.

The video must already be encoded. A missing text track returns 400.

{ "id": "[VIDEO_ID]", "title": "Video title", ... "texttracks": [ ... ] }