All Products
Search
Document Center

ApsaraVideo VOD:UpdateVideoInfo

Last Updated:Oct 27, 2026

Modifies the information of a single audio or video file.

Operation description

Usage notes

Locates an audio or video file by video ID. You can modify the title, tags, description, and other information of the audio or video file. If a parameter is passed, the corresponding field is updated. Otherwise, the field is not overwritten or updated.

QPS limits

The queries per second (QPS) limit per user for this API operation is 100. If the limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate. For more information, see QPS limits.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

vod:UpdateVideoInfo

update

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

VideoId

string

No

The audio or video file ID. You can obtain the ID by using one of the following methods:

  • For videos uploaded through the console, log on to the ApsaraVideo VOD console and choose Media Assets > Audio and Video to view the audio or video file ID.

  • When you call the CreateUploadVideo operation to obtain the upload URL and credential, the audio or video file ID is the value of the VideoId response parameter.

  • After a video is uploaded, you can call the SearchMedia operation to query the audio or video file ID. The ID is the value of the VideoId response parameter.

2deda93265312baf9b0ed810d****

Title

string

No

The title of the audio or video file.

  • The title can be up to 128 bytes in length.

  • The title must be encoded in UTF-8.

Alibaba Cloud VOD Video Title

Tags

string

No

The tags.

  • A single tag can be up to 32 bytes in length. You can add up to 16 tags.

  • Separate multiple tags with commas (,).

  • Tags must be encoded in UTF-8.

tag1,tag2

Description

string

No

The description of the audio or video file.

  • The description can be up to 1,024 bytes in length.

  • The description must be encoded in UTF-8.

Alibaba Cloud VOD video description

CoverURL

string

No

The URL of the thumbnail for the audio or video file.

https://example.aliyundoc.com/****.jpg

CateId

integer

No

The category ID. You can obtain the ID by using one of the following methods:

  • Log on to the ApsaraVideo VOD console and choose Configuration Management > Media Asset Management Settings > Category Management to view the category ID.

  • When you call the AddCategory operation to create a category, the category ID is the value of the CateId response parameter.

  • When you call the GetCategories operation to query categories, the category ID is the value of the CateId response parameter.

384761111

UserData

string

No

The custom settings. The value is a JSON string that supports settings such as message callbacks and upload acceleration. For more information, see UserData.

{"MessageCallback":{"CallbackURL":"http://example.aliyundoc.com"},"Extend":{"localId":"*****","test":"www"}}

ReferenceId

string

No

The custom ID. The ID must be 6 to 64 characters in length and can contain only lowercase letters, uppercase letters, digits, hyphens, and underscores. The ID must be unique per user.

123-123

Response elements

Element

Type

Description

Example

object

The response result.

RequestId

string

The request ID.

25818875-5F78-4AF6-D7393642CA58****

Examples

Success response

JSON format

{
  "RequestId": "25818875-5F78-4AF6-D7393642CA58****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.