Version: 6.x-23
Enterprise

License API

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.