根据应用监控PID列表,批量删除应用。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
地域 ID。 |
cn-hangzhou |
| Pids |
array |
是 |
ARMS 应用监控实例 ID(即 PID)列表。 |
|
|
string |
否 |
应用监控实例的 PID。 |
["atc889zkcf@d8deedfa9bfxxxx", "acd129bfcf@d5daebfa6cdxxxx"] |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
4B446DF2-3DDD-4B5B-8E3F-D5225120**** |
| Data |
string |
返回信息。 |
"{\"code\":200,\"data\":\"{\\\"code\\\":200,\\\"data\\\":true,\\\"errorCode\\\":\\\"删除应用成功\\\",\\\"message\\\":\\\"删除应用成功\\\",\\\"success\\\":true,\\\"traceId\\\":\\\"0bc1667516940677164677396d0088\\\"}\",\"errorCode\":\"批量删除应用成功\",\"message\":\"批量删除应用成功\",\"success\":true,\"traceId\":\"210f470416940677161213505e0e7a\"}" |
| Message |
string |
请求参数错误时返回的信息 |
“批量删除应用成功” |
| Success |
boolean |
是否删除成功。取值:
|
true |
| Code |
integer |
接口状态码:2XX:成功 3XX:重定向 4XX:请求错误 5XX:服务器错误 |
200 |
示例
正常返回示例
JSON格式
{
"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
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | ParameterUserIdIsNull | User ID is null. | |
| 400 | ParameterMissing | 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. | 当前用户无权限访问该接口 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。