Delete license APIedit
This API enables you to delete licensing information.
Requestedit
DELETE /_license
Descriptionedit
When your license expires, X-Pack operates in a degraded mode. For more information, see License expiration.
Prerequisitesedit
-
If the Elasticsearch security features are enabled, you must have the
manage
cluster privilege to use this API. - If the operator privileges feature is enabled, only operator users can use this API.
Examplesedit
The following example queries the info API:
DELETE /_license
When the license is successfully deleted, the API returns the following response:
{ "acknowledged": true }