123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- [role="xpack"]
- [testenv="basic"]
- [[delete-license]]
- === Delete License API
- This API enables you to delete licensing information.
- [float]
- ==== Request
- `DELETE /_xpack/license`
- [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]
- ------------------------------------------------------------
- DELETE _xpack/license
- ------------------------------------------------------------
- // CONSOLE
- // TEST[skip:license testing issues]
- When the license is successfully deleted, the API returns the following response:
- [source,js]
- ------------------------------------------------------------
- {
- "acknowledged": true
- }
- ------------------------------------------------------------
- // NOTCONSOLE
|