Set settings overrides

Overrides settings for instances belonging to an Elasticsearch cluster.

Request

PUT /api/v1/clusters/elasticsearch/{cluster_id}/instances/{instance_ids}/settings

Path parameters

cluster_id (required)
(string) The Elasticsearch cluster identifier.
instance_ids (required)
(array[string]) A comma-separated list of instance identifiers.

Query parameters

ignore_missing
(boolean; default: false) When true and the instance does not exist, proceeds to the next instance, or treats the instance as an error.
restart_after_update
(boolean; default: false) After overrides are applied, restarts the instances.

Request body

(ElasticsearchClusterInstanceSettingsOverrides) (required) The settings to override for the specified instances.

Responses

200
(ElasticsearchClusterInstanceSettingsOverrides) Returns the updated settings overrides for the specified instances
404
(BasicFailedReply) One or more of the instances specified at {instance_ids} could not be found (code: 'clusters.instances_not_found')
449
(BasicFailedReply) elevated permissions are required. (code: '"root.needs_elevated_permissions"')