Deleting Topics in a Kafka Instance in Batches
Function
This API is used to delete topics in a Kafka instance in batches.
Request
Request parameters
Table 2 describes the parameter.
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
topics |
Array |
Yes |
List of topics to delete. |
Example request
{ "topics" : ["hah", "aabb"] }
Response
Response parameters
Table 3 describes the parameter.
Parameter |
Type |
Description |
---|---|---|
id |
String |
Topic name. |
success |
Boolean |
Whether the topic is deleted. |
Example response
{ "topics" : [{ "id" : "haha", "success" : true }, { "id" : "aabb", "success" : true } ] }
Status Code
Table 5 describes the status code of successful operations. For details about other status codes, see Status Code.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot