Batch deletes applications by process ID (PID) from Application Monitoring.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| Pids |
array |
Yes |
PIDs of applications in Application Monitoring. |
|
|
string |
No |
The PID of an application. |
["atc889zkcf@d8deedfa9bfxxxx", "acd129bfcf@d5daebfa6cdxxxx"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response structure. |
||
| RequestId |
string |
The request ID. |
4B446DF2-3DDD-4B5B-8E3F-D5225120**** |
| Data |
string |
The returned message. |
"{\"code\":200,\"data\":\"{\\\"code\\\":200,\\\"data\\\":true,\\\"errorCode\\\":\\\"删除应用成功\\\",\\\"message\\\":\\\"删除应用成功\\\",\\\"success\\\":true,\\\"traceId\\\":\\\"0bc1667516940677164677396d0088\\\"}\",\"errorCode\":\"批量删除应用成功\",\"message\":\"批量删除应用成功\",\"success\":true,\"traceId\":\"210f470416940677161213505e0e7a\"}" |
| Message |
string |
Error message for invalid parameters. |
“批量删除应用成功” |
| Success |
boolean |
Whether the applications were deleted.
|
true |
| Code |
integer |
HTTP status code. 2XX: success. 3XX: redirect. 4XX: client error. 5XX: server error. |
200 |
Examples
Success response
JSON format
{
"RequestId": "4B446DF2-3DDD-4B5B-8E3F-D5225120****",
"Data": "\"{\\\"code\\\":200,\\\"data\\\":\\\"{\\\\\\\"code\\\\\\\":200,\\\\\\\"data\\\\\\\":true,\\\\\\\"errorCode\\\\\\\":\\\\\\\"删除应用成功\\\\\\\",\\\\\\\"message\\\\\\\":\\\\\\\"删除应用成功\\\\\\\",\\\\\\\"success\\\\\\\":true,\\\\\\\"traceId\\\\\\\":\\\\\\\"0bc1667516940677164677396d0088\\\\\\\"}\\\",\\\"errorCode\\\":\\\"批量删除应用成功\\\",\\\"message\\\":\\\"批量删除应用成功\\\",\\\"success\\\":true,\\\"traceId\\\":\\\"210f470416940677161213505e0e7a\\\"}\"",
"Message": "“批量删除应用成功”",
"Success": true,
"Code": 200
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterUserIdIsNull | User ID is null. | |
| 400 | ParameterMissing | You must specify the parameter. | You must specify the parameter. |
| 400 | InternalError | Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries. | |
| 400 | ParameterResourceIdIsNull | Resource ID is null. | |
| 403 | APINotAuthorize | The current user is not authorized to access the interface. | The current user is not authorized to access the interface. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.