Updates the license for the cluster
Query parameters
-
acknowledge boolean
Specifies whether you acknowledge the license changes.
PUT /_license
curl \
-X PUT http://api.example.com/_license \
-H "Content-Type: application/json" \
-d '{"license":{"":42.0,"issued_to":"string","issuer":"string","max_nodes":42.0,"max_resource_units":42.0,"signature":"string","type":"missing","uid":"string"},"licenses":[{"":42.0,"issued_to":"string","issuer":"string","max_nodes":42.0,"max_resource_units":42.0,"signature":"string","type":"missing","uid":"string"}]}'
Request examples
{
"license": {
"": 42.0,
"issued_to": "string",
"issuer": "string",
"max_nodes": 42.0,
"max_resource_units": 42.0,
"signature": "string",
"type": "missing",
"uid": "string"
},
"licenses": [
{
"": 42.0,
"issued_to": "string",
"issuer": "string",
"max_nodes": 42.0,
"max_resource_units": 42.0,
"signature": "string",
"type": "missing",
"uid": "string"
}
]
}
Response examples (200)
{
"acknowledge": {
"license": [
"string"
],
"message": "string"
},
"acknowledged": true,
"license_status": "active"
}