---
title: "Edit a text track"
method: PATCH
path: "/videos/{video_id}/texttracks/{texttrack_id}"
tags: ["Videos\\Text tracks"]
---

# Edit a text track

`PATCH /videos/{video_id}/texttracks/{texttrack_id}`

This method edits the specified text track.

## Path parameters

- `texttrack_id` number, required
- `video_id` number, required

## Response `200`

The text track was edited.

## Other responses

- `403` — * The authenticated user can't edit the text track. * Error code 2204: There are errors in the request. * Error code 3430: The authenticated user doesn't have permission to access the text track. * Error code 3431: This text track is disabled.
- `404` — * No such video or text track exists. * Error code 5014: The specified text track doesn't exist. * Error code 5015: The specified text track belongs to a different video.

---

[API](https://skmtc.net/vimeo/apis/vimeo-api.md) · [All operations](https://skmtc.net/vimeo/apis/vimeo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vimeo/vimeo-api/revisions/ea882e0224a4/schema)
