Delete audio / subtitle track
Delete audio / subtitle track
Delete audio / subtitle track
This endpoint allows you to delete an existing audio or subtitle track from a media file. Once deleted, the track must no longer be available for playback.
Send a DELETE request to this endpoint, replacing {mediaId} with the media ID, and {trackId} with the ID of the track you want to remove.
The track gets deleted from the media file, and you must receive a confirmation response.
After successfully deleting a track, your system must receive the webhook event video.media.track.deleted.
Once the media file is updated to reflect the track removal, a video.media.updated event must be triggered.
Suppose you uploaded an audio track in Italian for a video but later realize it’s incorrect or no longer needed. By calling this API, you can remove the specific track while keeping the rest of the media file unchanged. This is useful when:
Related guides: Add own subtitle tracks, Add own audio tracks
FastPix APIs are secured with Basic Authentication. Use your Access Token ID as the username and Secret Key as the password in the Authorization header of each API request.
Activate your FastPix account to generate your API credentials. See the guide here