All Products
Search
Document Center

UpdateCategory

Last Updated: Mar 04, 2019

Description

You can call this operation to modify a video category.

Request parameters

NameTypeRequiredDescription
ActionStringYesThe operation that you want to perform. Set the value to UpdateCategory.
CateIdLongYesThe category ID.
CateNameStringYesThe category name.
  • Length constraint: Maximum length of 64 bytes.
  • Encoding: UTF-8.

Response parameters

NameTypeDescription
RequestId String The GUID generated by Alibaba Cloud for the request.

Examples

Sample requests

  1. http://vod.cn-shanghai.aliyuncs.com/?Action=UpdateCategory&CateId=67788&CateName=exampleCategory&Format=JSON&<Common request parameters>

Note: For more information about common request parameters, see Common parameters.

Sample responses

JSON format

  1. {
  2. "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58"
  3. }

Error codes

The following table lists the error code that this operation can return. For more information, see Error codes.

Error codeError messageHTTP status codeDescription
InvalidCateId.NotFoundThe CateId not exist.404The error message returned when the specified category ID does not exist.