Menghapus topik tertentu.
Deskripsi operasi
- Alibaba Cloud OpenAPI is a control plane API used to manage and query resources of Alibaba Cloud services. Integrate this API only on the control plane. Do not use OpenAPI in the core data link for sending and receiving messages. This can create threats to your data link. - Deleting a topic also deletes all of its subscription relationships. Call this operation with caution.
This operation is typically used for resource revocation, such as when an application is unpublished. When a topic is deleted, its resources are revoked in the background. This process is slow. Do not immediately recreate a topic after deleting it. If the deletion fails, handle the error based on the error code.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mq:DeleteTopic |
Topic
Topic
|
None |
|
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Topic |
string |
Yes |
Topik yang akan dihapus. |
test |
| InstanceId |
string |
No |
ID instans yang berisi topik yang akan dihapus. |
MQ_INST_188077086902****_BXSuW61e |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. This is a common parameter. The ID is unique for each request. You can use this ID to locate and troubleshoot issues. |
4189D4A6-231A-4028-8D89-F66A76C1**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "4189D4A6-231A-4028-8D89-F66A76C1****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.