All Products
Search
Document Center

OpenSearch:ModifyOnlineConfig

Last Updated:Jul 16, 2024

Modifies online configurations.

Operation description

Method

put

URI

/openapi/ha3/instances/{instanceId}/node/{nodeName}/online-configs/{indexName}

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

PUT /openapi/ha3/instances/{instanceId}/node/{nodeName}/online-configs/{indexName}

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The instance ID.

ha-cn-7mz2ougaw02
nodeNamestringYes

The node name.

general
indexNamestringYes

The index name.

adsfasd
bodyobjectNo

The request body.

stringNo

The request body.

{}

Sample requests



PUT  /openapi/ha3/instances/ha-test1/node/ihome_searcher/online-configs



{

  "content": "xxxx",

  "suezAdminName": "xxxx"

}

Response parameters

ParameterTypeDescriptionExample
object
requestIdstring

id of request

2AE63638-5420-56DC-BF59-37D8174039A0
resultobject

Map

{}

Sample requests

PUT  /openapi/ha3/instances/ha-test1/node/ihome_searcher/online-configs
{
 
  "content": "xxxx",
 
  "suezAdminName": "xxxx"
 
}

For more information, see Response structure.

Examples

Sample success responses

JSONformat

{
  "requestId": "2AE63638-5420-56DC-BF59-37D8174039A0",
  "result": {}
}

Error codes

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