Deletes one or more site monitoring tasks.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteSiteMonitors

The operation that you want to perform. Set the value to DeleteSiteMonitors.

TaskIds String Yes 01adacc2-ece5-41b6-afa2-3143ab5d****,43bd1ead-514f-4524-813e-228ce091****

The IDs of the site monitoring tasks that you want to delete. Separate multiple task IDs with commas (,).

IsDeleteAlarms Boolean No true

Specifies whether to delete the alert rules configured for the site monitoring tasks. Valid values:

  • true (default value)
  • false

Response parameters

Parameter Type Example Description
Code String 200

The HTTP status code.

Note The status code 200 indicates that the call was successful.
Message String Success

The returned message. If the call was successful, the value success is returned. If the call failed, an error message such as TaskId not found is returned.

RequestId String 123BCC5D-8B63-48EA-B747-9A8995BE7AA6

The ID of the request.

Success String true

Indicates whether the call was successful. The value true indicates success. The value false indicates failure.

Data Object

The information about the site monitoring tasks that were deleted.

count Integer 0

The number of the site monitoring tasks that were deleted.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "Data" : {
    "count" : 0
  "Message" : "Success",
  "RequestId" : "123BCC5D-8B63-48EA-B747-9A8995BE7AA6",
  "Success" : true,
  "Code" : "200"

Error codes

For a list of error codes, see Service error codes.