edit-icon download-icon

UpdateMediaCategory

Last Updated: Apr 19, 2018

Description

The UpdateMediaCategory API updates media categories.

Request parameters

Parameter Type Required or not Description
Action String Yes API of the action, system required parameter. Set this parameter to UpdateMediaCategory.
MediaId String Yes Media ID.
CateId Long No Category ID, which cannot be a negative number.

Return parameters

Name Type Description
Media Media Media

Example

Request example

  1. http://mts.cn-hangzhou.aliyuncs.com?MediaId=3e1cd21131a94525be55acf65888bf46&<public parameter>

Return example

XML

  1. <UpdateMediaCategoryResponse>
  2. <RequestId>E3931857-E3D3-4D6E-9C7B-D2C09441BD01</RequestId>
  3. </UpdateMediaCategoryResponse>

JSON

  1. {
  2. "RequestId":"894A984A-CEC2-4784-B899-77A7414FD159"
  3. }
Thank you! We've received your feedback.