v1

latestOpenAPI 3.0.42026-08-062942352.0 MB
TrialPolicies

Update a trial policy

Updates the specified trial policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

patch/v3/trial-policies/{id}

Path parameters

idstring required

Unique identifier for the trial policy.

Request body

namestring nullable

Name of the policy.

fingerprintMatchingStrategy'fuzzy' | 'exact' | 'loose' nullable

Strategy for matching machine fingerprint.

allowVmActivationboolean nullable

Whether to allow an activation inside a virtual machine.

allowContainerActivationboolean nullable

Whether to allow an activation inside a container.

userLockedboolean nullable

Locks the activation to the machine user.

disableGeoLocationboolean nullable

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 nullable

The duration after which the trial will expire.

Response

OK

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