Delete license API

edit

This API enables you to delete licensing information.

Request

edit

DELETE /_license

Description

edit

When your license expires, X-Pack operates in a degraded mode. For more information, see License Expiration.

Authorization

edit

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

Examples

edit

The following example queries the info API:

DELETE /_license

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

{
  "acknowledged": true
}