IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Delete license API
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Delete license API
editThis API enables you to delete licensing information.
Request
editDELETE /_license
Description
editWhen your license expires, X-Pack operates in a degraded mode. For more information, see License expiration.
Prerequisites
edit-
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.
Examples
editThe following example queries the info API:
response = client.license.delete puts response
DELETE /_license
When the license is successfully deleted, the API returns the following response:
{ "acknowledged": true }