Start a trial

  • POST /_license/start_trial
Auth

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.

Required authorization

Cluster privileges manage

Query parameters

acknowledge boolean · default: false

To start a trial, you must accept the acknowledge messages and set this parameter to true.

type string · default: trial

The type of trial license to generate

master_timeout string · default: 30s

Period to wait for a connection to the master node.

Response

application/json
acknowledged boolean required
error_message string
trial_was_started boolean required
type enum
Values: missing trial basic standard dev silver gold platinum enterprise