Enables the slow query optimization service of Optimization Master.


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 headers

This operation uses only the common request headers. For more information, see Common request parameters.

Request syntax

POST /v4/openapi/app-groups/[appGroupIdentity]/optimizers/slow-query/actions/enable HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
appGroupIdentity String Path Yes my_app_group_name

The name of the application.

Response parameters

Parameter Type Example Description
requestId String 728E89C6-8673-D39B-39A1-5BA2B56D448F

The ID of the request.

result Map {}

The return result.


Sample requests

POST /v4/openapi/app-groups/kevintest2/optimizers/slow-query/actions/enable

Sample success responses

XML format


JSON format

    "requestId": "728E89C6-8673-D39B-39A1-5BA2B56D448F",
    "result": ""

Error codes

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