2018-03-06 12:47:04 -05:00
|
|
|
[role="xpack"]
|
2018-06-20 11:17:11 -04:00
|
|
|
[testenv="basic"]
|
2018-03-06 12:47:04 -05:00
|
|
|
[[delete-license]]
|
2018-12-20 13:23:28 -05:00
|
|
|
=== Delete license API
|
|
|
|
++++
|
|
|
|
<titleabbrev>Delete license</titleabbrev>
|
|
|
|
++++
|
2018-03-06 12:47:04 -05:00
|
|
|
|
|
|
|
This API enables you to delete licensing information.
|
|
|
|
|
|
|
|
[float]
|
|
|
|
==== Request
|
|
|
|
|
2018-11-28 08:24:35 -05:00
|
|
|
`DELETE /_license`
|
2018-03-06 12:47:04 -05:00
|
|
|
|
|
|
|
[float]
|
|
|
|
==== Description
|
|
|
|
|
|
|
|
When your license expires, {xpack} operates in a degraded mode. For more
|
|
|
|
information, see {xpack-ref}/license-expiration.html[License Expiration].
|
|
|
|
|
|
|
|
[float]
|
|
|
|
==== Authorization
|
|
|
|
|
|
|
|
You must have `manage` cluster privileges to use this API.
|
|
|
|
For more information, see
|
|
|
|
{xpack-ref}/security-privileges.html[Security Privileges].
|
|
|
|
|
|
|
|
[float]
|
|
|
|
==== Examples
|
|
|
|
|
|
|
|
The following example queries the info API:
|
|
|
|
|
|
|
|
[source,js]
|
|
|
|
------------------------------------------------------------
|
2018-11-28 08:24:35 -05:00
|
|
|
DELETE /_license
|
2018-03-06 12:47:04 -05:00
|
|
|
------------------------------------------------------------
|
|
|
|
// CONSOLE
|
|
|
|
// TEST[skip:license testing issues]
|
|
|
|
|
|
|
|
When the license is successfully deleted, the API returns the following response:
|
|
|
|
[source,js]
|
|
|
|
------------------------------------------------------------
|
|
|
|
{
|
|
|
|
"acknowledged": true
|
|
|
|
}
|
|
|
|
------------------------------------------------------------
|
2018-06-20 11:17:11 -04:00
|
|
|
// NOTCONSOLE
|