Version: SG FLX
Enterprise
License API
Used to retrieve and update the Search Guard license.
Endpoint
copy
/_searchguard/api/license/
GET
copy
GET /_searchguard/api/license/
Returns the currently installed license in JSON format.
PUT
copy
PUT /_searchguard/api/license/
Validates and replaces the currently active Search Guard license. Invalid (e.g. expired) licenses are rejected.
copy
PUT /_searchguard/api/license/
{
"sg_license":
}