Set settings overrides (all instances)

Overrides settings for all instances belonging to an Elasticsearch cluster.

Request

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

Path parameters

cluster_id (required)
(string) The Elasticsearch cluster identifier.

Query parameters

restart_after_update
(boolean; default: false) After overrides are applied, restarts the instances.

Request body

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

Responses

200
(ElasticsearchClusterInstanceSettingsOverrides) Returns the updated settings overrides for the specified instances
404
(BasicFailedReply) The cluster specified at {cluster_id} could not be found (code: 'clusters.cluster_not_found')
449
(BasicFailedReply) elevated permissions are required. (code: '"root.needs_elevated_permissions"')