Version: 7.x-36.0.0
Enterprise

License API

Content

Used to retrieve and update the Search Guard license.

Endpoint

/_searchguard/api/license/

GET

GET /_searchguard/api/license/

Returns the currently installed license in JSON format.

PUT

PUT /_searchguard/api/license/

Validates and replaces the currently active Search Guard license. Invalid (e.g. expired) licensens are rejected.

PUT /_searchguard/api/license/
{ 
  "sg_license": <licensestring>
}

Not what you were looking for? Try the search.