Updates the cluster voting config exclusions by node ids or node names Added in 7.0.0
Query parameters
-
node_names string | array[string]
A comma-separated list of the names of the nodes to exclude from the voting configuration. If specified, you may not also specify node_ids.
-
node_ids string | array[string]
A comma-separated list of the persistent ids of the nodes to exclude from the voting configuration. If specified, you may not also specify node_names.
-
timeout string
When adding a voting configuration exclusion, the API waits for the specified nodes to be excluded from the voting configuration before returning. If the timeout expires before the appropriate condition is satisfied, the request fails and returns an error.
POST /_cluster/voting_config_exclusions
curl \
-X POST http://api.example.com/_cluster/voting_config_exclusions