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}
JWTtrialPolicy:write

Path parameters

idstringrequired

Unique identifier for the trial policy.

Request body

namestring

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.

Length: [1,256]Pattern: ^(?!\s)(?!.*\s$)[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}]+$

fingerprintMatchingStrategystring

Strategy for matching machine fingerprint.

Allowed values: fuzzy, exact, loose

allowVmActivationboolean

Whether to allow an activation inside a virtual machine.

allowContainerActivationboolean

Whether to allow an activation inside a container.

userLockedboolean

Locks the activation to the machine user.

disableGeoLocationboolean

Whether IP address and geo-location should be stored.

allowedIpRangesarray of string

Allowed IP ranges. Leave empty to ignore.

allowedCountriesarray of string

List of the allowed countries. Leave empty to ignore.

disallowedCountriesarray of string

List of the disallowed countries. Leave empty to ignore.

allowedIpAddressesarray of string

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

disallowedIpAddressesarray of string

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

trialLengthinteger

The duration after which the trial will expire.

Range: [1, 2147483647]Format: int32

Response

200 OK

idstringrequired
createdAtstringrequired

Format: date-time

updatedAtstringrequired

Format: date-time

namestringrequired
allowVmActivationbooleanrequired
allowContainerActivationbooleanrequired
userLockedbooleanrequired
disableGeoLocationbooleanrequired
allowedIpRangesarray of stringrequired
allowedCountriesarray of stringrequired
disallowedCountriesarray of stringrequired
allowedIpAddressesarray of stringrequired
disallowedIpAddressesarray of stringrequired
trialLengthintegerrequired

Format: int32

fingerprintMatchingStrategystringrequired

Allowed values: fuzzy, exact, loose

allowedIpRangestring