Menghapus kategori dan subkategorinya.
Deskripsi operasi
After you call this operation to delete a category, all subcategories including level 2 and level 3 categories are deleted at the same time. Exercise caution when you call this operation.
If you have classified specific media resources to a category, the category names labeled on these media resources are automatically deleted when you delete the category.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DeleteCategory |
delete |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CateId |
integer |
Yes |
ID kategori. Anda hanya dapat menentukan satu ID. Anda dapat menggunakan salah satu metode berikut untuk memperoleh ID:
Catatan
Jika Anda menentukan ID kategori induk, semua subkategori di bawah kategori induk akan dihapus pada pengatur waktu yang sama. |
3300**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
25818875-5F78-4AF6-D7393642CA58**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "25818875-5F78-4AF6-D7393642CA58****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.