OpenSearch/docs/reference/licensing/delete-license.asciidoc
James Rodewig 988e8c8fc6
[DOCS] Swap [float] for [discrete] (#60134)
Changes instances of `[float]` in our docs for `[discrete]`.

Asciidoctor prefers the `[discrete]` tag for floating headings:
https://asciidoctor.org/docs/asciidoc-asciidoctor-diffs/#blocks
2020-07-23 12:42:33 -04:00

48 lines
1.1 KiB
Plaintext

[role="xpack"]
[testenv="basic"]
[[delete-license]]
=== Delete license API
++++
<titleabbrev>Delete license</titleabbrev>
++++
This API enables you to delete licensing information.
[discrete]
==== Request
`DELETE /_license`
[discrete]
==== Description
When your license expires, {xpack} operates in a degraded mode. For more
information, see
{kibana-ref}/managing-licenses.html#license-expiration[License expiration].
[discrete]
==== Authorization
You must have `manage` cluster privileges to use this API.
For more information, see
<<security-privileges>>.
[discrete]
==== Examples
The following example queries the info API:
[source,console]
------------------------------------------------------------
DELETE /_license
------------------------------------------------------------
// TEST[skip:license testing issues]
When the license is successfully deleted, the API returns the following response:
[source,js]
------------------------------------------------------------
{
"acknowledged": true
}
------------------------------------------------------------
// NOTCONSOLE