Files
elasticsearch-js/docs/reference-license-post_start_trial.asciidoc
2024-12-05 14:46:51 -06:00

77 lines
4.0 KiB
Plaintext

[[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 <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<LicensePostStartTrialResponse>
----
[discrete]
==== LicensePostStartTrialRequest
[pass]
++++
<pre>
++++
interface LicensePostStartTrialRequest extends <<RequestBase>> {
acknowledge?: boolean
type_query_string?: string
}
[pass]
++++
</pre>
++++
[discrete]
==== LicensePostStartTrialResponse
[pass]
++++
<pre>
++++
interface LicensePostStartTrialResponse {
acknowledged: boolean
error_message?: string
trial_was_started: boolean
type?: LicenseLicenseType
}
[pass]
++++
</pre>
++++