All Products
Search
Document Center

Application Real-Time Monitoring Service:DeleteTraceApp

Last Updated:Aug 28, 2026

Deletes an application by its process identifier (PID) and type.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

AppId

string

Yes

The application ID. Call the SearchTraceAppByName operation to query the application ID.

5406**

RegionId

string

Yes

The region ID of the application.

cn-hangzhou

Type

string

Yes

The type of the application to delete. Call the SearchTraceAppByName operation to query the application type. Valid values:

  • TRACE: Application Monitoring

  • RETCODE: frontend monitoring

TRACE

Pid

string

Yes

The PID of the application. For information about how to query the PID, see QueryMetricByPage.

9w0sc5gxxz@edcsd447c2f****

DeleteReason

object

No

The reasons for deleting the application.

Remark

string

No

Additional remarks when none of the predefined deletion reasons apply.

业务场景覆盖不全

ReasonIds

array<object>

No

The reason IDs.

object

No

Id

integer

No

The ID of the reason for deletion.

0

Name

string

No

The description of the deletion reason.

删除理由描述,ID和Name的对应关系: "id":0,"name":"功能不完善,无法定位到问题根本原因。" "id":1,"name":"Agent不稳定,影响应用运行。" "id":2,"name":"服务不稳定,经常打不开界面。" "id":3,"name":"报警相关问题。" "id":4,"name":"价格太贵" "id":5,"name":"其他原因"

Response elements

Element

Type

Description

Example

object

Data

string

The response in JSON format, including the HTTP status code, error code, response message, and trace ID.

{\"code\":200,\"data\":\"{\\\"code\\\":200,\\\"data\\\":true,\\\"errorCode\\\":\\\"删除应用成功\\\",\\\"message\\\":\\\"删除应用成功\\\",\\\"success\\\":true,\\\"traceId\\\":\\\"0bc0594d15954826692915817e****\\\"}\",\"errorCode\":\"删除应用成功\",\"message\":\"删除应用成功\",\"success\":true,\"traceId\":\"0ab2646915954826692568137d****\"}

RequestId

string

The request ID.

46355DD8-FC56-40C5-BFC6-269DE4F9****

Message

string

The returned message.

message

Code

integer

The HTTP status code. A value of 200 indicates a successful request.

200

Success

boolean

Indicates whether the request was successful. Valid values:

true: The request was successful.

false: The request failed.

true

Examples

Success response

JSON format

{
  "Data": "{\\\"code\\\":200,\\\"data\\\":\\\"{\\\\\\\"code\\\\\\\":200,\\\\\\\"data\\\\\\\":true,\\\\\\\"errorCode\\\\\\\":\\\\\\\"删除应用成功\\\\\\\",\\\\\\\"message\\\\\\\":\\\\\\\"删除应用成功\\\\\\\",\\\\\\\"success\\\\\\\":true,\\\\\\\"traceId\\\\\\\":\\\\\\\"0bc0594d15954826692915817e****\\\\\\\"}\\\",\\\"errorCode\\\":\\\"删除应用成功\\\",\\\"message\\\":\\\"删除应用成功\\\",\\\"success\\\":true,\\\"traceId\\\":\\\"0ab2646915954826692568137d****\\\"}",
  "RequestId": "46355DD8-FC56-40C5-BFC6-269DE4F9****",
  "Message": "message",
  "Code": 200,
  "Success": true
}

Error codes

HTTP status code

Error code

Error message

Description

500 InternalError Internal 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.
403 IllegalUserAccess Illegal user access. Illegal user access.
406 AgentNotUninstalled agent not uninstalled. The agent attached by the application is not uninstalled normally.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.