Batch Deleting Message Stack Diagnosis Reports
Function
This API is used to delete message stack diagnosis reports in batches.
Calling Method
For details, see Calling APIs.
URI
DELETE /v2/{project_id}/kafka/instances/{instance_id}/message-diagnosis-tasks
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID. |
|
instance_id |
Yes |
String |
Instance ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
report_id_list |
Yes |
Array of strings |
IDs of reports to be deleted. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
results |
Array of results objects |
Diagnosis report deletion report. |
Example Requests
Batch Deleting message stack diagnosis reports
DELETE https://{endpoint}/v2/{project_id}/kafka/instances/{instance_id}/message-diagnosis-tasks
{
"report_id_list" : [ "0e35a9f4-e75d-4fd6-b230-280860f666f7" ]
}
Example Responses
Status code: 200
Successful
{
"results" : [ {
"result" : "true",
"id" : "0e35a9f4-e75d-4fd6-b230-280860f666f7"
} ]
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Successful |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.