原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/delete-license.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/delete-license.html

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.

Authorizationedit

You must have manage cluster privileges to use this API. For more information, see Security privileges.

Examplesedit

The following example queries the info API:

DELETE /_license

When the license is successfully deleted, the API returns the following response:

{
  "acknowledged": true
}