[[reference-license-post_start_trial]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] === client.license.postStartTrial The start trial API enables you to start a 30-day trial, which gives access to all subscription features. {ref}/start-trial.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (LicensePostStartTrialRequest, options?): Promise ---- [discrete] ===== `LicensePostStartTrialRequest` [source,ts] ---- interface LicensePostStartTrialRequest extends <> { acknowledge?: boolean type_query_string?: string } ---- [discrete] ===== `LicensePostStartTrialResponse` [source,ts] ---- interface LicensePostStartTrialResponse { acknowledged: boolean error_message?: string trial_was_started: boolean type?: LicenseLicenseType } ----