summaryrefslogtreecommitdiff
path: root/rest-api-spec/api/cluster.put_settings.json
blob: a832c4d152aa33f23069b47c3e8e4d6450bc81d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  "cluster.put_settings": {
    "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/cluster-update-settings.html",
    "methods": ["PUT"],
    "url": {
      "path": "/_cluster/settings",
      "paths": ["/_cluster/settings"],
      "parts": {},
      "params": {
        "flat_settings": {
          "type": "boolean",
          "description": "Return settings in flat format (default: false)"
        }
      }
    },
    "body": {
      "description": "The settings to be updated. Can be either `transient` or `persistent` (survives cluster restart)."
    }
  }
}