WARNING: Version 6.2 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
This API starts a 30-day trial license.
POST _xpack/license/start_trial
The start trial
API enables you to upgrade from a basic license to a 30-day
trial license, which gives access to all X-Pack features.
You are allowed to initiate a trial license only if your cluster has not
already activated a trial license for the current major X-Pack version. For
example, if you have already activated a trial for v6.0, you cannot start a new
trial until v7.0. You can, however, contact [email protected]
to request an
extended trial license.
To check the status of your trial license, use the following API: Get Trial Status API.
For more information about the different types of licenses, see https://www.elastic.co/subscriptions.
You must have manage
cluster privileges to use this API.
For more information, see
Security Privileges.
The following example checks whether you are eligible to start a trial:
POST _xpack/license/start_trial
Example response:
{ "trial_was_started": true }