All Products
Search
Document Center

Application Real-Time Monitoring Service:DeleteAppList

Last Updated:May 09, 2024

Deletes multiple applications at a time based on the process IDs (PIDs).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
arms:DeleteAppListWrite
  • TraceApp
    acs:arms:{#regionId}:{#accountId}:traceapp/{#Pid}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID.

cn-hangzhou
PidsarrayYes

The PIDs of the applications monitored by ARMS Application Monitoring.

stringYes

The PID of the application.

["atc889zkcf@d8deedfa9bfxxxx", "acd129bfcf@d5daebfa6cdxxxx"]

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

4B446DF2-3DDD-4B5B-8E3F-D5225120****
Datastring

The returned message.

"{\"code\":200,\"data\":\"{\\\"code\\\":200,\\\"data\\\":true,\\\"errorCode\\ \":\\\"Deletion of application successful\\\",\\\"Message\\\":\\\"Deletion of application successful\\\",\\\"Successful\\\":true,\ \\"traceId\\\":\\\"0bc1667516940677164677396d0088\\\"}\",\"errorCode\":\"Batch deletion of applications successful\",\"message\":\"Batch deletion of applications successful\ ",\"Success\":true,\"traceId\":\"210f470416940677161213505e0e7a\"}"
Messagestring

The error message returned when the request parameters are invalid.

"Deletion of application successful"
Successboolean

Indicates whether the specified applications are deleted. Valid values:

  • true: The applications are deleted.
  • false: The applications failed to be deleted.
true
Codelong

The HTTP status code. 2XX indicates that the request was successful. 3XX indicates that the request was redirected. 4XX indicates that a request error occurred. 5XX indicates that a server error occurred.

200

Examples

Sample success responses

JSONformat

{
  "RequestId": "4B446DF2-3DDD-4B5B-8E3F-D5225120****",
  "Data": "\"{\\\"code\\\":200,\\\"data\\\":\\\"{\\\\\\\"code\\\\\\\":200,\\\\\\\"data\\\\\\\":true,\\\\\\\"errorCode\\\\ \\\":\\\\\\\"Deletion of application successful\\\\\\\",\\\\\\\"Message\\\\\\\":\\\\\\\"Deletion of application successful\\\\\\\",\\\\\\\"Successful\\\\\\\":true,\\ \\\\\"traceId\\\\\\\":\\\\\\\"0bc1667516940677164677396d0088\\\\\\\"}\\\",\\\"errorCode\\\":\\\"Batch deletion of applications successful\\\",\\\"message\\\":\\\"Batch deletion of applications successful\\ \",\\\"Success\\\":true,\\\"traceId\\\":\\\"210f470416940677161213505e0e7a\\\"}\"",
  "Message": "\"Deletion of application successful\"",
  "Success": true,
  "Code": 200
}

Error codes

HTTP status codeError codeError messageDescription
400ParameterUserIdIsNullUser ID is null.-
400ParameterMissingYou must specify the parameter.You must specify the parameter.
400InternalErrorInternal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries.Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries.
400ParameterResourceIdIsNullResource ID is null.-
403APINotAuthorizeThe current user is not authorized to access the interface.The current user is not authorized to access the interface.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-03-26The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
    delete Error Codes: 403
2023-09-07The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Added Error Codes: 400
    Added Error Codes: 403