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.

Prerequisites

edit

Examples

edit

The following example queries the info API:

resp = client.license.delete()
print(resp)
response = client.license.delete
puts response
const response = await client.license.delete();
console.log(response);
DELETE /_license

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

{
  "acknowledged": true
}