Validate License

URL:
https://<root>/orgs/<orgID>/license/validateLicense
Methods:
POST
Required Capability:
Access allowed with the "Manage Licenses" privilege
Version Introduced:
10.9

Description

The validateLicense operation validates an input ArcGIS Enterprise on Kubernetes license file (.json). Only valid license files can be imported. If the provided file is valid and the response format (f) is set to json, the operation will return the license information.

Request parameters

ParameterDetails

file

(Required)

For deployments using ArcGIS Enterprise on Kubernetes 10.9.1 or earlier, this file is an ArcGIS Enterprise portal license file. For deployments using ArcGIS Enterprise on Kubernetes 11.0 or later, this is an ArcGIS Enterprise on Kubernetes license file.

listAdministratorUserTypes

(Required)

Returns a list of user types that are compatible with the Administrator role. This identifies the user types that can be assigned to the Initial Administrator Account when creating an organization. The default is false.

Values: true | false

f

The response format. The default response is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the validateLicense operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
POST /context/admin/orgs/0123456789ABCDEF/licenses/validateLicense HTTP/1.1
Host: organization.domain.com
Content-Type: multipart/form-data; boundary=------boundary

------boundary
Content-Disposition: form-data; name="file"; filename=""
Content-Type: application/octet-stream

kubernetesLicenseFile.json
------boundary
Content-Disposition: form-data; name="listAdministratorUserTypes"

false
------boundary
Content-Disposition: form-data; name="f"

pjson
------boundary
Content-Disposition: form-data; name="token"

Mb0ORrkLObNO2Q8FZoUCHHzSMzZi0CbhLHNRYMqqa6URG_ojQJF3rNsJAfRB23MyCrLwSmuaHPUo4AEIrUuoH1-4Ot5xh4565FtlQahXAhK2C7Sy0oydZhBwD8KdFSnVlnLr-e9uI5ovSWZ2lGNn9SwoV2MPMzeAh_5r-q-wgwF8DTT_nhuCXJGkMRy-48jjGS2aN5FI18STHZ8RAuKxGasH90SI3C7njZzlGCUrY5m6BDhCMsdpZA14GwNX8Cis
------boundary--

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
  "MyEsri": {
    "capabilities": "...",
    "provision": {
      "extensions": [
        {
          "entitlements": [
            {
              "apiName": "<associated API>",
              "num": <maximum registered members allowed>
            }
          ],
          "maxUsers": <num>,
          "id": "<user type extension ID>",
          "startDate": <start date in epoch>
        },
        ...
      ],
      "appBundles": [
        {
          "maxUsers": <maximum registered members allowed>,
          "id": "<app ID>",
          "startDate": <start date in epoch>,
          "apps": null
        },
        ...
      ],
      "userTypes": [
        {
          "maxUsers": <maximum registered members allowed>,
          "id": "<user type ID>",
          "startDate": <start date in epoch>,
          "apps": null
        },
        ...
      ],
      "apps": [
        {
          "maxUsers": <maximum registered members allowed>,
          "id": "<app ID>",
          "startDate": <start date in epoch>
        },
        ...
      ]
    },
    "portalCapabilities": [],
    "version": "<version number>",
    "definitions": {
      "appBundles": [
        {
          "appBundleItemId": "<bundle ID>",
          "name": "<app bundle name>",
          "description": "<bundle description>"
        },
        ...
      ],
      "userTypes": [
        {
          "level": "<level number>",
          "name": "<user type name>",
          "description": "<user type description>",
          "id": "<user type ID>",
          "isEsriDefault": true
        },
        {
          "extensions": [
            {
              "entitlements": ["<entitlement>"],
              "id": "<entitlement ID>"
            },
            ...
          ],
          "level": "<level number>",
          "name": "<user type name>",
          "description": "<user type description>",
          "id": "<user type ID>",
          "isEsriDefault": true
        },
        ...
      ]
    }
  }
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
{
  "MyEsri": {
    "capabilities": "c3ZyYWR2LDExMCxlY3A2NDQ1NjQ1ODgs...",
    "provision": {
      "extensions": [
        {
          "entitlements": [
            {
              "apiName": "parcelFabric",
              "num": 200
            }
          ],
          "maxUsers": 200,
          "id": "parcelFabric",
          "startDate": 1630627200000
        },
        {
          "entitlements": [
            {
              "apiName": "parcelFabric",
              "num": 0
            }
          ],
          "maxUsers": 0,
          "id": "parcelFabric",
          "startDate": 1666224000000
        },
        {
          "entitlements": [
            {
              "apiName": "traceNetwork",
              "num": 200
            }
          ],
          "maxUsers": 200,
          "id": "traceNetwork",
          "startDate": 1630627200000
        },
        {
          "entitlements": [
            {
              "apiName": "traceNetwork",
              "num": 0
            }
          ],
          "maxUsers": 0,
          "id": "traceNetwork",
          "startDate": 1666224000000
        },
        {
          "entitlements": [
            {
              "apiName": "utilityNetwork",
              "num": 200
            }
          ],
          "maxUsers": 200,
          "id": "utilityNetwork",
          "startDate": 1630627200000
        },
        {
          "entitlements": [
            {
              "apiName": "utilityNetwork",
              "num": 0
            }
          ],
          "maxUsers": 0,
          "id": "utilityNetwork",
          "startDate": 1666224000000
        }
      ],
      "appBundles": [
        {
           "maxUsers": 200,
           "id": "fieldAppsAB",
           "startDate": 1630627200000,
           "apps": null
        },
        {
          "maxUsers": 0,
          "id": "fieldAppsAB",
          "startDate": 1666224000000,
          "apps": null
        },
        {
          "maxUsers": 200,
          "id": "essentialAppsAB",
          "startDate": 1630627200000,
          "apps": null
        },
        {
          "maxUsers": 0,
          "id": "essentialAppsAB",
          "startDate": 1666224000000,
          "apps": null
        },
        {
          "maxUsers": 200,
          "id": "officeAppsAB",
          "startDate": 1630627200000,
          "apps": null
        },
        {
          "maxUsers": 0,
          "id": "officeAppsAB",
          "startDate": 1666224000000,
          "apps": null
        }
      ],
      "userTypes": [
        {
          "maxUsers": 200,
          "id": "viewerUT",
          "startDate": 1630627200000,
          "apps": null
        },
        {
          "maxUsers": 0,
          "id": "viewerUT",
          "startDate": 1666224000000,
          "apps": null
        },
        {
          "maxUsers": 200,
          "id": "creatorUT",
          "startDate": 1630627200000,
          "apps": null
        },
        {
          "maxUsers": 0,
          "id": "creatorUT",
          "startDate": 1666224000000,
          "apps": null
        },
        {
          "maxUsers": 200,
          "id": "GISProfessionalAdvUT",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "GISProfessionalAdvUT",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "GISProfessionalStdUT",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "GISProfessionalStdUT",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "GISProfessionalBasicUT",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "GISProfessionalBasicUT",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "fieldWorkerUT",
          "startDate": 1630627200000,
          "apps": null
        },
        {
          "maxUsers": 0,
          "id": "fieldWorkerUT",
          "startDate": 1666224000000,
          "apps": null
        },
        {
          "maxUsers": 200,
          "id": "editorUT",
          "startDate": 1630627200000,
          "apps": null
        },
        {
          "maxUsers": 0,
          "id": "editorUT",
          "startDate": 1666224000000,
          "apps": null
        },
        {
          "maxUsers": 200,
          "id": "storytellerUT",
          "startDate": 1630627200000,
          "apps": null
        },
        {
          "maxUsers": 0,
          "id": "storytellerUT",
          "startDate": 1666224000000,
          "apps": null
        }
      ],
      "apps": [
        {
          "maxUsers": 5800,
          "id": "arcgisprodesktop",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "arcgisprodesktop",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "Drone2MapN",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "Drone2MapN",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "runtimeanalysis",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "runtimeanalysis",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "QuickCapture",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "QuickCapture",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "survey123",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "survey123",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "stMapLatA",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "stMapLatA",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "stMapMEnA",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "stMapMEnA",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "stMapAP",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "stMapAP",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "appstudiostd",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "appstudiostd",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "stMapNA",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "stMapNA",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "stMapEU",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "stMapEU",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "collector",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "collector",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "Navigator",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "Navigator",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "workforce",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "workforce",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 200,
          "id": "fieldmaps",
          "startDate": 1630540800000
        },
        {
          "maxUsers": 0,
          "id": "fieldmaps",
          "startDate": 1666224000000
        },
        {
          "maxUsers": 400,
          "id": "arcgisd2m",
          "startDate": 1630627200000
        },
        {
          "maxUsers": 0,
          "id": "arcgisd2m",
          "startDate": 1666224000000
        }
      ]
    },
    "portalCapabilities": [],
    "version": "11.0",
    "definitions": {
      "appBundles": [
        {
          "appBundleItemId": "fieldAppsAB",
          "name": "Field Apps",
          "description": "Field Apps"
        },
        {
          "appBundleItemId": "essentialAppsAB",
          "name": "Essential Apps",
          "description": "Essential Apps"
         },
         {
           "appBundleItemId": "officeAppsAB",
           "name": "Office Apps",
           "description": "Office Apps"
         }
      ],
      "userTypes": [
        {
          "level": "1",
          "name": "Viewer",
          "description": "Viewer (formerly a Level 1 Named User)",
          "id": "viewerUT",
          "isEsriDefault": true
        },
        {
          "level": "2",
          "name": "Creator",
          "description": "Creator (formerly a Level 2 Named User)",
          "id": "creatorUT",
          "isEsriDefault": true
        },
        {
          "extensions": [
            {
              "entitlements": ["traceNetwork"],
              "id": "traceNetwork"
            },
            {
              "entitlements": ["utilityNetwork"],
              "id": "utilityNetwork"
            },
            {
              "entitlements": ["parcelFabric"],
              "id": "parcelFabric"
            }
          ],
          "level": "2",
          "name": "GIS Professional Advanced",
          "description": "GIS Professional Advanced",
          "id": "GISProfessionalAdvUT",
          "isEsriDefault": true
        },
        {
          "extensions": [
            {
              "entitlements": ["traceNetwork"],
              "id": "traceNetwork"
            },
            {
              "entitlements": ["utilityNetwork"],
              "id": "utilityNetwork"
            },
            {
              "entitlements": ["parcelFabric"],
              "id": "parcelFabric"
            }
          ],
          "level": "2",
          "name": "GIS Professional Standard",
          "description": "GIS Professional Standard",
          "id": "GISProfessionalStdUT",
          "isEsriDefault": true
        },
        {
          "level": "2",
          "name": "GIS Professional Basic",
          "description": "GIS Professional Basic",
          "id": "GISProfessionalBasicUT",
          "isEsriDefault": true
        },
        {
          "extensions": [
            {
              "entitlements": ["locsharing"],
              "id": "locsharing"
            }
          ],
          "level": "11",
          "name": "Mobile Worker",
          "description": "Mobile Worker",
          "id": "fieldWorkerUT",
          "isEsriDefault": true
        },
        {
          "level": "11",
          "name": "Editor",
          "description": "Editor",
          "id": "editorUT",
          "isEsriDefault": true
        },
        {
          "level": "2",
          "name": "Storyteller",
          "description": "Storyteller",
          "id": "storytellerUT",
          "isEsriDefault": true,
          "supportsSignInOnlyFromUTApps": true
        }
      ]
    }
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.