根據應用監控 PID 清單,批次刪除應用。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
arms:DeleteAppList |
none |
*TraceApp
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| 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\\\":\\\"Delete application successfully\\\",\\\"message\\\":\\\"Delete application successfully\\\",\\\"success\\\":true,\\\"traceId\\\":\\\"0bc1667516940677164677396d0088\\\"}\",\"errorCode\":\"Batch delete applications successfully\",\"message\":\"Batch delete applications successfully\",\"success\":true,\"traceId\":\"210f470416940677161213505e0e7a\"}" |
| Message |
string |
請求參數錯誤時返回的資訊。 |
"Batch delete applications successfully" |
| 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. | 目前使用者無權限存取該介面。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。