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
Name | Type | Required | Description |
---|---|---|---|
Action | String | Yes | The operation that you want to perform. Set the value to DeleteCategory. |
CateId | Long | Yes | The category ID. |
Response parameters
Name | Type | Description |
---|---|---|
RequestId | String | The GUID generated by Alibaba Cloud for the request. |
Examples
Sample requests
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
{
"RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58"
}
Error codes
The following table lists the error code that this operation can return. For more information, see Error codes.
Error code | Error message | HTTP status code | Description |
---|---|---|---|
InvalidCateId.NotFound | The CateId not exist. | 404 | The error message returned when the specified category ID does not exist. |