Call CloseDiagnosis to disable the intelligent O&M function of an instance.

Debugging

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 header

This operation uses common request parameters only.

Request syntax

POST /openapi/diagnosis/instances/[InstanceId]/actions/close-diagnosis HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
InstanceId String Yes es-cn-s9dsk3k4k****

The ID of the instance.

ClientToken String No 5A2CFF0E-5718-45B5-9D4D-70B3FF****

A unique token generated by the client to guarantee the idempotency of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length.

lang String No spanish

Multi-language support.

Response parameters

Parameter Type Example Description
RequestId String 5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1****

The ID of the request.

Result Boolean true

Return results:

  • true: close intelligent O&M successfully
  • false: close intelligent O&M failed

Examples

Sample requests

POST /openapi/diagnosis/instances/es-cn-s9dsk3k4k****/actions/close-diagnosis HTTP/1.1

Sample success responses

XML format

<Result>true</Result>
<RequestId>290ED7FB-4AA0-4F9B-86DC-95FEB016****</RequestId>

JSON format

{
    "Result": true,
    "RequestId": "290ED7FB-4AA0-4F9B-86DC-95FEB016****"
}

Error codes

For a list of error codes, visit the API Error Center.