Remove a subtitle track
DELETE /assets/{id}/subtitle-tracks/{lang}
DELETE
/assets/{id}/subtitle-tracks/{lang}
Deletes the (asset, lang) subtitle track. The underlying WebVTT file in CAS stays (storage GC is a separate process).
Returns 422 when the asset’s renderable kind doesn’t support subtitles — the policy gate fires BEFORE the row lookup, so a Delete on an image asset returns “not applicable” (422) rather than “not found” (404).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
lang
required
string
RFC 5646 language tag of the track to delete.
Responses
Section titled “ Responses ”Track deleted.
Authentication required, missing, or invalid
object
error
required
Human-readable error summary
string
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Resource not found
object
error
required
Human-readable error summary
string
Example
the request could not be completedRequest shape is valid but the action doesn’t apply (e.g. subtitles on a non-video/audio asset).
object
error
required
Human-readable error summary
string
Example
the request could not be completed