Create a trial policy
Creates a new trial policy.
POST/v3/trial-policies
JWT
trialPolicy:write
Request Body Schema
| Property | Type | Description | Constraints |
|---|---|---|---|
| name* | string | Name of the policy. | min: 1, max: 256 |
| fingerprintMatchingStrategy* | string | Strategy for matching machine fingerprint. | enum: [fuzzy, exact, loose] |
| allowVmActivation* | boolean | Whether to allow an activation inside a virtual machine. | |
| allowContainerActivation* | boolean | Whether to allow an activation inside a container. | |
| userLocked* | boolean | Locks the activation to the machine user. | |
| disableGeoLocation* | boolean | Whether IP address and geo-location should be stored. | |
| allowedIpRanges | array | Allowed IP ranges. Leave empty to ignore. | items: string |
| allowedCountries | array | List of the allowed countries. Leave empty to ignore. | items: string |
| disallowedCountries | array | List of the disallowed countries. Leave empty to ignore. | items: string |
| allowedIpAddresses | array | List of the allowed ip addresses. Leave empty to ignore. | items: string |
| disallowedIpAddresses | array | List of the disallowed ip addresses. Leave empty to ignore. | items: string |
| trialLength* | integer | The duration after which the trial will expire. | min: 1, max: 2147483647, format: int32 |
Request Example
Responses
201
400
401
403
409
429
500