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
|
2020-01-09 14:26:34 -05:00
|
|
|
information, see
|
|
|
|
{kibana-ref}/managing-licenses.html#license-expiration[License expiration].
|
2018-03-06 12:47:04 -05:00
|
|
|
|
|
|
|
[float]
|
|
|
|
==== Authorization
|
|
|
|
|
|
|
|
You must have `manage` cluster privileges to use this API.
|
|
|
|
For more information, see
|
2019-10-07 18:23:19 -04:00
|
|
|
<<security-privileges>>.
|
2018-03-06 12:47:04 -05:00
|
|
|
|
|
|
|
[float]
|
|
|
|
==== Examples
|
|
|
|
|
|
|
|
The following example queries the info API:
|
|
|
|
|
2019-09-06 11:31:13 -04:00
|
|
|
[source,console]
|
2018-03-06 12:47:04 -05:00
|
|
|
------------------------------------------------------------
|
2018-11-28 08:24:35 -05:00
|
|
|
DELETE /_license
|
2018-03-06 12:47:04 -05:00
|
|
|
------------------------------------------------------------
|
|
|
|
// 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
|