All Products
Search
Document Center

CloudMonitor:EnableSiteMonitors

Last Updated:Mar 01, 2024

Debugging

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

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
TaskIdsstringYes

The IDs of the site monitoring tasks. Separate multiple instance IDs with commas (,).

49f7b317-7645-4cc9-94fd-ea42e522****,49f7b317-7645-4cc9-94fd-ea42e522****

Response parameters

ParameterTypeDescriptionExample
object
Codestring

The status code.

Note The status code 200 indicates a success.
200
Messagestring

The returned message.

successful
RequestIdstring

The ID of the request.

3fcd12e7-d387-42ee-b77e-661c775bb17f
Successstring

Indicates whether the operation was successful. Valid values:

  • true: successful.
  • false: failed.
true
Dataobject

The number of detection points that are affected by the site monitoring tasks.

countinteger

The number of detection points.

0

Examples

Sample success responses

JSONformat

{
  "Code": "200",
  "Message": "successful",
  "RequestId": "3fcd12e7-d387-42ee-b77e-661c775bb17f",
  "Success": "true",
  "Data": {
    "count": 0
  }
}

Error codes

HTTP status codeError codeError message
400InvalidQueryParameter%s
401AccessDeniedExceptionYou donot have sufficient access to perform this action.
402LimitExceededThe quota for this customer had been reached.
403ForbiddenYou are not authorized to operate the specified resource.
406ExceedingQuotaExceeding quota limits.
409%s%s
429ThrottlingExceptionThe request was denied due to request throttling.
500InternalError%s

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

Change history

Change timeSummary of changesOperation
2023-06-19The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Error Codes 403 change
    delete Error Codes: 400
    delete Error Codes: 401
    delete Error Codes: 402
    delete Error Codes: 406
    delete Error Codes: 409
    delete Error Codes: 429
    delete Error Codes: 500