All Products
Search
Document Center

OpenSearch:CreateConfigDir

Last Updated:Jul 22, 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 syntax

POST /openapi/ha3/instances/{instanceId}/advanced-configs/{configName}/dir

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The instance ID.

ha-cn-7mz2iv7sq01
configNamestringYes

The configuration name.

ha-cn-w6lr44sf3kx@ha-cn-w6lr44sf3kx_kevintest@kevintest@index_config_edit
bodyobjectNo

The request body.

dirNamestringNo

The directory name.

/clusters
parentFullPathstringNo

The path of the parent directory.

/

Response parameters

ParameterTypeDescriptionExample
object
requestIdstring

The request ID.

E7B7D598-B080-5C8E-AA35-D43EC0D5F886
resultobject

The result.

{}

Examples

Sample success responses

JSONformat

{
  "requestId": "E7B7D598-B080-5C8E-AA35-D43EC0D5F886",
  "result": {}
}

Error codes

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