Delete the license Generally available
When the license expires, your subscription level reverts to Basic.
If the operator privileges feature is enabled, only operator users can use this API.
Required authorization
- Cluster privileges:
manage
Query parameters
-
The period to wait for a connection to the master node.
External documentation -
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
External documentation
DELETE /_license
Console
DELETE /_license
resp = client.license.delete()
const response = await client.license.delete();
response = client.license.delete
$resp = $client->license()->delete();
curl -X DELETE -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_license"