Modifies the online configuration of a specified index.
Operation description
Method
put
URI
/openapi/ha3/instances/{instanceId}/node/{nodeName}/online-configs/{indexName}
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
searchengine:ModifyOnlineConfig |
*Instance
|
None | None |
Request syntax
PUT /openapi/ha3/instances/{instanceId}/node/{nodeName}/online-configs/{indexName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
ha-cn-pl32rf0**** |
| nodeName |
string |
Yes |
The node name. |
general |
| indexName |
string |
Yes |
The index name. |
test_api |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
|
string |
No |
The request body. |
{} |
Sample requests
PUT /openapi/ha3/instances/ha-test1/node/ihome_searcher/online-configs
{
"content": "xxxx",
"suezAdminName": "xxxx"
}
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
2AE63638-5420-56DC-BF59-37D8174039A0 |
| result |
object |
The result of the operation. |
{} |
Sample requests
PUT /openapi/ha3/instances/ha-test1/node/ihome_searcher/online-configs
{
"content": "xxxx",
"suezAdminName": "xxxx"
}
For more information, see Response structure.
Examples
Success response
JSON format
{
"requestId": "2AE63638-5420-56DC-BF59-37D8174039A0",
"result": {}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.