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) 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) When running as an administrator (other than root), sudo is required (code: 'root.needs_sudo')