{
  "license.get":{
    "documentation":{
      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/get-license.html",
      "description":"Retrieves licensing information for the cluster"
    },
    "stability":"stable",
    "visibility":"public",
    "headers":{
      "accept": [ "application/json"]
    },
    "url":{
      "paths":[
        {
          "path":"/_license",
          "methods":[
            "GET"
          ]
        }
      ]
    },
    "params":{
      "local":{
        "type":"boolean",
        "description":"Return local information, do not retrieve the state from master node (default: false)"
      },
      "accept_enterprise":{
        "type":"boolean",
        "description":"If the active license is an enterprise license, return type as 'enterprise' (default: false)"
      }
    }
  }
}
