All Products
Search
Document Center

DeleteCategory

Last Updated: Mar 04, 2019

Description

You can call this operation to delete a video category.

Note: If you delete a video category, its subcategories (including level-2 and level-3 categories) are also deleted.

Request parameters

NameTypeRequiredDescription
ActionStringYesThe operation that you want to perform. Set the value to DeleteCategory.
CateIdLongYesThe category ID.

Response parameters

NameTypeDescription
RequestIdString The GUID generated by Alibaba Cloud for the request.

Examples

Sample requests

  1. http://vod.cn-shanghai.aliyuncs.com/?Action=DeleteCategory&CateId=67788&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.