---
title: "Update a Video Variant"
method: PATCH
path: "/v1/accounts/{{account_id}}/videos/{{video_id}}/variants{language}}"
tags: ["Videos"]
---

# Update a Video Variant

`PATCH /v1/accounts/{{account_id}}/videos/{{video_id}}/variants{language}}`

## Request

- Base URL: `https://cms.api.brightcove.com`
- URL: `https://cms.api.brightcove.com/v1/accounts/{{account_id}}/videos/{{video_id}}/variants{language}}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://oauth.brightcove.com/v4/access_token` scopes: `video-cloud/video/read`

Updates a language variant for a video metadata

## Path parameters

- `account_id` string, required
- `video_id` string, required
- `language` string, required

## Headers

- `Content-Type` string, required
- `Authorization` string, required

## Request body

- VideoVariant: Object containing language-specific metadata for a video
  - `language` string: The language for this variant in the language-country code format (examples: en-US, es-ES) **Note that `language` is only included when you create a variant - you must NOT include it when updating the variant**
  - `name` string: The title of the video in this language
  - `description` string: The video short description in this language
  - `long_description` string: The video long description in this language
  - `custom_fields` object: map of `fieldname: value` pairs, where values are for this language; values have a maximum length of 1024 single-byte characters. Note: be sure to use the **internal** name for the field, not the display name

## Response `200`

200

- VideoVariant: Object containing language-specific metadata for a video
  - `language` string: The language for this variant in the language-country code format (examples: en-US, es-ES) **Note that `language` is only included when you create a variant - you must NOT include it when updating the variant**
  - `name` string: The title of the video in this language
  - `description` string: The video short description in this language
  - `long_description` string: The video long description in this language
  - `custom_fields` object: map of `fieldname: value` pairs, where values are for this language; values have a maximum length of 1024 single-byte characters. Note: be sure to use the **internal** name for the field, not the display name

## Other responses

- `401`: UNAUTHORIZED: Authentication failed; check to make sure your client credentials were correct for the access token
- `404`: RESOURCE_NOT_FOUND: The api could not find the resource you requested
- `405`: METHOD_NOT_ALLOWED: The HTTP method specified is not allowed for this endpoint
- `429`: TOO_MANY_REQUESTS: You are submitting too many simultaneous requests or too many requests per second

## Changes

- **2023-04-29** `d5befff2511b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/brightcovelearning/apis/brightcove-cms-api-reference/changes/v1/accounts/:{account_id}/videos/:{video_id}/variants:language}/patch.md)

---

[API](https://skmtc.dev/brightcovelearning/apis/brightcove-cms-api-reference.md) - [All operations](https://skmtc.dev/brightcovelearning/apis/brightcove-cms-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/brightcovelearning/apis/brightcove-cms-api-reference/revisions/1b6182a4560a?raw)
