Management API
License
Retrieve License
1min
Retrieves a single license, if requesting manager has access permissions to it.
URL: /api/v1/licenses/{id}/
Method: GET
Code: 200 OK
Content Examples:
JSON
1{
2 "id": 1593781720493289,
3 "status": "Inactive",
4 "floating_in_use_devices": 0,
5 "customer": {
6 "id": 620,
7 "total_orders": 14,
8 "total_licenses": 45,
9 "labels": [
10 {
11 "id": 3,
12 "label_id": 8,
13 "label": "Customer",
14 "color": "#ff9f43"
15 },
16 {
17 "id": 53,
18 "label_id": 34,
19 "label": "Loyal",
20 "color": "#3a0cd4"
21 }
22 ],
23 "email": "[email protected]",
24 "first_name": "",
25 "last_name": "",
26 "company_name": "",
27 "phone": "",
28 "reference": "",
29 "address": "",
30 "postcode": "",
31 "city": "",
32 "country": "",
33 "state": "",
34 "clabels_all": "customerloyal",
35 "cognito_user_pool_id": "",
36 "metadata": {},
37 "company": 277,
38 "license_user": null,
39 "clabels": [
40 8,
41 34
42 ]
43 },
44 "product_features": [
45 {
46 "id": 1596179495925542,
47 "product_feature": {
48 "id": 173,
49 "created_at": "2020-09-14T11:17:43Z",
50 "updated_at": "2020-09-14T11:17:43Z",
51 "name": "Feature 3",
52 "code": "f3",
53 "is_deleted": false,
54 "feature_type": "consumption",
55 "max_consumption": 2,
56 "allow_overages": false,
57 "max_overages": 0,
58 "reset_consumption": false,
59 "consumption_period": null,
60 "metadata": {}
61 },
62 "max_consumption": 30,
63 "total_consumptions": 0,
64 "expiry_date": null,
65 "allow_overages": false,
66 "max_overages": 99,
67 "reset_consumption": false,
68 "consumption_period": null,
69 "metadata": {}
70 }
71 ],
72 "product_custom_fields": [],
73 "license_users": [
74 {
75 "id": 1240,
76 "last_login": null,
77 "email": "[email protected]|uss1",
78 "true_email": "[email protected]",
79 "created_at": "2020-08-12T08:52:32Z",
80 "updated_at": "2020-08-12T09:01:24Z",
81 "is_admin": {},
82 "is_active": true,
83 "is_staff": false,
84 "first_name": "John",
85 "last_name": "Doe",
86 "phone_number": "00385913109161",
87 "subscribed_to_email": false,
88 "acquired_consent": null,
89 "is_manager": false,
90 "initial_password": "4q3dg7!_",
91 "is_initial_password": true,
92 "max_activations": 1,
93 "total_activations": 5
94 }
95 ],
96 "order_store_id": "d2d2dce02c844d4492c9d48758aa143a",
97 "active_up_to_date_devices": 0,
98 "total_active_devices": 0,
99 "product": {
100 "id": 1584723961091234,
101 "product_name": "mch"
102 },
103 "created_at": "2020-07-03T13:08:40Z",
104 "updated_at": "2020-10-15T13:40:26Z",
105 "license_key": null,
106 "active": false,
107 "enabled": true,
108 "time_activated": "2020-10-10T14:42:16Z",
109 "time_disabled": "2020-08-14T07:26:27Z",
110 "max_activations": 6,
111 "times_activated": 0,
112 "valid_duration": null,
113 "validity_period": "2020-09-30",
114 "license_type": "perpetual",
115 "enable_maintenance_period": true,
116 "maintenance_duration": "3m",
117 "maintenance_period": "2021-01-10",
118 "is_trial": true,
119 "max_consumptions": 0,
120 "total_consumptions": 0,
121 "subscription_id": null,
122 "last_check": null,
123 "prevent_vm": true,
124 "allow_overages": false,
125 "max_overages": 0,
126 "reset_consumption": false,
127 "consumption_period": null,
128 "trial_days": 0,
129 "is_floating": false,
130 "is_floating_cloud": true,
131 "floating_users": 1,
132 "note": null,
133 "max_license_users": 0,
134 "transfer_count": 0,
135 "floating_timeout": null,
136 "max_transfers": 0,
137 "is_air_gapped": false,
138 "can_borrow": false,
139 "max_borrow_time": 0,
140 "is_bundle": false,
141 "metadata": {},
142 "order": 1593781720493279,
143 "order_item": 1593781720493299,
144 "disabled_user": null,
145 "last_activation_device": null
146}
Updated 05 Sep 2023
![Doc contributor](https://s3.amazonaws.com/archbee-animals/lion.png)
![Doc contributor](https://s3.amazonaws.com/archbee-animals/dog.png)
Did this page help you?