All Products
Search
Document Center

ApsaraVideo VOD:UpdateVideoInfo

Last Updated:Jul 21, 2026

Modifies the information about a single audio or video file.

Operation description

Operation description

This operation locates an audio or video file by video ID and supports modifying the title, tags, description, and other information of the file. If a parameter is specified, the corresponding field is updated. Otherwise, the field is not overwritten or updated.

QPS limit

A single user can perform a maximum of 100 queries per second (QPS). Throttling is triggered when the QPS limit is exceeded, which may affect your business. For more information, see QPS limit.

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 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 Files > Audio/Video to view the audio or video ID.

  • Obtain the video ID from the value of the VideoId response parameter when you call the CreateUploadVideo operation to obtain the upload URL and credential.

  • After the video is uploaded, call the SearchMedia operation to query the audio or video ID, which 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 value is encoded in UTF-8.

Alibaba Cloud VOD Video Title

Tags

string

No

The tags.

  • Each tag can be up to 32 bytes in length. A maximum of 16 tags can be specified.

  • Separate multiple tags with commas (,).

  • The value is encoded in UTF-8.

tag1,tag2

Description

string

No

The description of the audio or video file.

  • The description can be up to 1024 bytes in length.

  • The value is encoded in UTF-8.

Alibaba Cloud VOD video description

CoverURL

string

No

The thumbnail URL of 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 Management > Categories to view the category ID.

  • Obtain the category ID from the value of the CateId response parameter when you call the AddCategory operation to create a category.

  • Call the GetCategories operation to query the category ID, which 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. Only lowercase letters, uppercase letters, digits, hyphens, and underscores are supported. The value must be 6 to 64 characters in length and is unique at the user level.

123-123

Response elements

Element

Type

Description

Example

object

The response parameters.

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.