Start a trial Added in 6.1.0

POST /_license/start_trial

Start a 30-day trial, which gives access to all subscription features.

NOTE: You are allowed to start a trial only if your cluster has not already activated a trial for the current major product version. For example, if you have already activated a trial for v8.0, you cannot start a new trial until v9.0. You can, however, request an extended trial at https://www.elastic.co/trialextension.

To check the status of your trial, use the get trial status API.

Query parameters

Responses

POST /_license/start_trial
curl \
 -X POST http://api.example.com/_license/start_trial
Response examples (200)
{
  "acknowledged": true,
  "error_message": "string",
  "trial_was_started": true,
  "type": "missing"
}