Modifies the index version of a cluster to perform an index rollback.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
searchengine:ModifyIndexVersion |
*Instance
|
None | None |
Request syntax
PUT /openapi/ha3/instances/{instanceId}/clusters/{clusterName}/index-version HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
ha-cn-pl32rf0**** |
| clusterName |
string |
No |
The name of the cluster. |
vpc_hz_domain_2 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
array<object> |
No |
The request body. |
{} |
|
object |
No |
The keyword used to search for a version. Fuzzy match is supported. |
||
| indexName |
string |
No |
The index name. |
main_index |
| version |
string |
No |
The index version. |
1 |
| buildDeployId |
string |
No |
The deployment ID of the data source. |
277 |
Sample requests
PUT /openapi/ha3/instances/ha3_instance_nameclusters/test_cluster/index-version
[
{
"indexName": "index1",
"version": "123456",
"buildDeployId": "20201010"
},
{
"indexName": "index1",
"version": "123456",
"buildDeployId": "20201010"
}
]
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| requestId |
string |
The request ID. |
F43E8AB4-419C-5F4C-90D6-615590DFAA3C |
| result |
object |
The result. |
{} |
Sample responses
Sample success responses
{
"requestId": "0A6EB64B-B4C8-CF02-810F-E660812972FF",
"result":[]
}
For more information, see Response structure.
Examples
Success response
JSON format
{
"requestId": "F43E8AB4-419C-5F4C-90D6-615590DFAA3C",
"result": {}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.