TrialPolicies

Create a trial policy

Changed on

Creates a new trial policy.

post/v3/trial-policies

Request

  • Base URL
    https://api.cryptlex.com
  • URL
    https://api.cryptlex.com/v3/trial-policies
  • Auth
    HTTP bearer

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

Changes

    • breaking

      added the pattern ^(?!\s)(?!.*\s$)[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}]+$ to the request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • warning

      removed subschema #2 from the request body allOf list

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status