全部產品
Search
文件中心

Application Real-Time Monitoring Service:DeleteAppList

更新時間:Oct 26, 2026

根據應用監控 PID 清單,批次刪除應用。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

arms:DeleteAppList

none

*TraceApp

acs:arms:{#regionId}:{#accountId}:traceapp/{#Pid}

無 無

請求參數

名稱

類型

必填

描述

樣本值

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:刪除成功

  • false:刪除失敗

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. 目前使用者無權限存取該介面。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情。