Management API
...
License
License Policies
Retrieve License Policy
1min
Retrieve a single license policy if requesting manager has access permissions to it.
URL : /api/v1/license-templates/{id}/
Method : GET
Code : 200 OK
Content examples :
JSON
1{
2 "id": 938,
3 "license_product_feature_templates": [
4 {
5 "id": 246,
6 "product_feature": {
7 "id": 194,
8 "created_at": "2021-01-13T08:38:38Z",
9 "updated_at": "2021-01-13T08:38:38Z",
10 "name": "f1",
11 "code": "f1",
12 "is_deleted": false,
13 "feature_type": "activation",
14 "max_consumption": 0,
15 "allow_unlimited_consumptions": false,
16 "allow_overages": false,
17 "max_overages": 0,
18 "reset_consumption": false,
19 "consumption_period": null,
20 "is_floating": false,
21 "is_floating_cloud": false,
22 "floating_users": 1,
23 "floating_timeout": null,
24 "metadata": {},
25 "product": 1584723961091260
26 },
27 "feature_type": "activation",
28 "max_consumption": 100,
29 "allow_unlimited_consumptions": false,
30 "allow_overages": false,
31 "max_overages": 0,
32 "reset_consumption": false,
33 "consumption_period": null,
34 "is_floating": false,
35 "is_floating_cloud": false,
36 "floating_users": 1,
37 "floating_timeout": null,
38 "metadata": {},
39 "license_template": 938
40 }
41 ],
42 "license_custom_field_templates": [
43 {
44 "id": 66,
45 "product_custom_field": {
46 "id": 69,
47 "name": "cf44",
48 "data_type": null,
49 "default_value": "31",
50 "description": null,
51 "product": 1584723961091260
52 },
53 "name": "cf44",
54 "data_type": null,
55 "default_value": "69",
56 "description": "Some description",
57 "license_template": 938
58 }
59 ],
60 "created_at": "2024-04-09T07:22:34.340092Z",
61 "updated_at": "2024-04-09T07:22:34.340195Z",
62 "name": "Example name",
63 "code": "example_code",
64 "is_default": false,
65 "default_license_type": "perpetual",
66 "allow_trial": true,
67 "trial_days": 15,
68 "max_activations": 100,
69 "allow_unlimited_activations": false,
70 "max_license_users": 1,
71 "is_floating": true,
72 "is_floating_cloud": true,
73 "floating_users": 1,
74 "floating_timeout": 120,
75 "enable_maintenance_period": false,
76 "maintenance_duration": "1y",
77 "prevent_vm": false,
78 "valid_duration": "1y",
79 "allow_grace_period": false,
80 "grace_period": 0,
81 "max_consumptions": 1,
82 "allow_unlimited_consumptions": false,
83 "allow_overages": false,
84 "max_overages": 0,
85 "reset_consumption": false,
86 "consumption_period": null,
87 "max_transfers": 0,
88 "is_air_gapped": false,
89 "can_borrow": false,
90 "max_borrow_time": 0,
91 "is_archived": false,
92 "is_hardware_key_auth": false,
93 "validity_period": "2020-09-30",
94 "metadata": {},
95 "product": 1584723961091260
96}
Updated 08 Jul 2024
![Doc contributor](https://s3.amazonaws.com/archbee-animals/dog.png)
![Doc contributor](https://s3.amazonaws.com/archbee-animals/lion.png)
Did this page help you?