v31

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-28124212862.9 KB
Assets

Update an asset track

Updates the details of an existing Asset Track with the provided Asset ID and Track ID.

patch/video/v1/assets/{ASSET_ID}/tracks/{TRACK_ID}

Path parameters

ASSET_IDstring required

The asset ID.

TRACK_IDstring required

The ID of the track for an asset.

Request body

language_codestring

The language code of this track. The value must be a valid BCP 47 specification compliant value. For example, en for English or en-US for the US version of English.

namestring

The name of the track containing a human-readable description. This value must be unique within each group of text or audio track types. The HLS manifest will associate the text or audio track with this value. For example, set the value to "English" for subtitles text track with language_code as en-US. If this parameter is not included, Mux will auto-populate a value based on the language_code value.

closed_captionsboolean

Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH).

passthroughstring

Arbitrary user-supplied metadata set for the track either when creating the asset or track.

Response

OK