latestOpenAPI 3.0.42026-08-183012522.1 MB

66dcb6293180

TrialPolicies

Create a trial policy

Creates a new trial policy.

post/v3/trial-policies

Request body

namestring required

Name of the policy.

Any printable characters, including letters from any script, punctuation and emoji. Cannot contain line breaks, tabs, other control characters, invisible formatting characters (zero-width and bidirectional marks), and cannot start or end with whitespace.

fingerprintMatchingStrategy'fuzzy' | 'exact' | 'loose' required

Strategy for matching machine fingerprint.

allowVmActivationboolean required

Whether to allow an activation inside a virtual machine.

allowContainerActivationboolean required

Whether to allow an activation inside a container.

userLockedboolean required

Locks the activation to the machine user.

disableGeoLocationboolean required

Whether IP address and geo-location should be stored.

allowedIpRangesstring[] nullable

Allowed IP ranges. Leave empty to ignore.

allowedCountriesstring[] nullable

List of the allowed countries. Leave empty to ignore.

disallowedCountriesstring[] nullable

List of the disallowed countries. Leave empty to ignore.

allowedIpAddressesstring[] nullable

List of the allowed ip addresses. Leave empty to ignore.

disallowedIpAddressesstring[] nullable

List of the disallowed ip addresses. Leave empty to ignore.

trialLengthinteger required

The duration after which the trial will expire.

Response

Created

idstring required
createdAtstring date-time required
updatedAtstring date-time required
namestring required
allowVmActivationboolean required
allowContainerActivationboolean required
userLockedboolean required
disableGeoLocationboolean required
allowedIpRangestring nullable
allowedIpRangesstring[] required
allowedCountriesstring[] required
disallowedCountriesstring[] required
allowedIpAddressesstring[] required
disallowedIpAddressesstring[] required
trialLengthinteger required
fingerprintMatchingStrategy'fuzzy' | 'exact' | 'loose' required