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) Identifier for the Elasticsearch cluster

Query parameters

restart_after_update
(boolean; default: false) Whether or not to restart the instances after the overrides are applied

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"')