Supprimer un sous-titre
Suppression sous-titre
Pour supprimer un sous-titre, envoie une requête DELETE à l’endpoint /videos/:videoId/texttracks/:texttrackId.
CURL
curl -X DELETE https://app.ignitevideo.cloud/api/videos/[VIDEO_ID]/texttracks/[TEXTTRACK_ID] \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \Réponse
La réponse est le nouvel objet vidéo avec le tableau texttracks mis à jour, sans le sous-titre supprimé.
{
"id": "[VIDEO_ID]",
"title": "Video title",
...
"texttracks": [
...
]
}