Version: SG FLX
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) licenses are rejected.
PUT /_searchguard/api/license/
{
"sg_license": <licensestring>
}