Disables the intelligent O&M feature for an Elasticsearch cluster.

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 for different SDKs.

Request headers

This operation does not have operation-specific request headers and uses only common request headers.

Request syntax

POST /openapi/diagnosis/instances/{InstanceId}/actions/close-diagnosis HTTP/1.1

Request parameters

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

The ID of the instance.

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

The client token that is used to ensure the idempotence 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 Query No spanish

Multi-language support. The default is the browser language. Support:

  • En: english
  • zh: Simplified Chinese
  • zt: Traditional Chinese
  • es: Spanish
  • fr: french

Response parameters

Parameter Type Example Description
Result Boolean true

Indicates whether intelligent O&M is successfully disabled. Valid values:

  • true: The call was successful.
  • false: The call failed.
RequestId String 5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1****

The ID of the request.

Examples

Sample requests

POST /openapi/diagnosis/instances/es-cn-s9dsk3k4k****/actions/close-diagnosis?ClientToken=5A2CFF0E-5718-45B5-9D4D-70B3FF****&lang=spanish HTTP/1.1
Host:elasticsearch.aliyuncs.com
Content-Type:application/json

Sample success responses

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

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

Error codes

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