@@ -1300,7 +1300,7 @@ paths:
1300
1300
orgs :
1301
1301
type : array
1302
1302
items :
1303
- $ref : ' #/components/schemas/OrgResponse_core '
1303
+ $ref : ' #/components/schemas/CreateOrgResponse '
1304
1304
post :
1305
1305
tags :
1306
1306
- orgs
@@ -1312,7 +1312,10 @@ paths:
1312
1312
content :
1313
1313
application/json :
1314
1314
schema :
1315
- $ref : ' #/components/schemas/OrgResponse_core'
1315
+ type : object
1316
+ properties :
1317
+ data :
1318
+ $ref : ' #/components/schemas/CreateOrgResponse'
1316
1319
/api/v3/orgs/{orgId} :
1317
1320
get :
1318
1321
tags :
@@ -1331,13 +1334,16 @@ paths:
1331
1334
description : A successful response
1332
1335
content :
1333
1336
application/json :
1334
- schema :
1335
- $ref : ' #/components/schemas/OrgResponse_core'
1337
+ schema :
1338
+ type : object
1339
+ properties :
1340
+ data :
1341
+ $ref : ' #/components/schemas/CreateOrgResponse'
1336
1342
put :
1337
1343
tags :
1338
1344
- orgs
1339
- summary : Get an organization
1340
- operationId : Org_Get
1345
+ summary : Update an organization
1346
+ operationId : Org_Update
1341
1347
parameters :
1342
1348
- name : orgId
1343
1349
in : path
@@ -1351,7 +1357,10 @@ paths:
1351
1357
content :
1352
1358
application/json :
1353
1359
schema :
1354
- type : object
1360
+ type : object
1361
+ properties :
1362
+ data :
1363
+ $ref : ' #/components/schemas/CreateOrgResponse'
1355
1364
/api/v3/orgs/{orgId}/block :
1356
1365
post :
1357
1366
tags :
@@ -2183,6 +2192,190 @@ components:
2183
2192
stsBaseUrl :
2184
2193
type : string
2185
2194
example : " http://core:4200"
2195
+ CreateOrgResponse :
2196
+ type : object
2197
+ properties :
2198
+ orgId :
2199
+ type : integer
2200
+ format : int32
2201
+ example : 123
2202
+ orgUid :
2203
+ type : string
2204
+ example : test org uid
2205
+ orgGuid :
2206
+ type : string
2207
+ example : test org guid
2208
+ orgName :
2209
+ type : string
2210
+ example : My Test Org
2211
+ orgExtRef :
2212
+ type : string
2213
+ notes :
2214
+ type : string
2215
+ status :
2216
+ type : string
2217
+ active :
2218
+ type : boolean
2219
+ example : true
2220
+ blocked :
2221
+ type : boolean
2222
+ example : false
2223
+ parentOrgId :
2224
+ type : integer
2225
+ format : int32
2226
+ example : 123456
2227
+ parentOrgUid :
2228
+ type : string
2229
+ example : parent org uid
2230
+ parentOrgGuid :
2231
+ type : string
2232
+ example : parent org guid
2233
+ type :
2234
+ type : string
2235
+ classification :
2236
+ type : string
2237
+ hierarchyCounts :
2238
+ type : object
2239
+ additionalProperties :
2240
+ type : integer
2241
+ format : int32
2242
+ configInheritanceCounts :
2243
+ type : object
2244
+ additionalProperties :
2245
+ type : integer
2246
+ format : int32
2247
+ creationDate :
2248
+ type : string
2249
+ example : Mon Feb 22 08:40:43 UTC 2021
2250
+ modificationDate :
2251
+ type : string
2252
+ example : Mon Feb 22 08:40:43 UTC 2021
2253
+ deactivationDate :
2254
+ type : string
2255
+ example : Mon Feb 22 08:40:43 UTC 2021
2256
+ settings :
2257
+ $ref : " #/components/schemas/OrgSettingsData"
2258
+ settingsInherited :
2259
+ $ref : " #/components/schemas/OrgSettingsData"
2260
+ settingsSummary :
2261
+ $ref : " #/components/schemas/OrgSettingsData"
2262
+ registrationKey :
2263
+ type : string
2264
+ reporting :
2265
+ $ref : " #/components/schemas/OrgReportingData"
2266
+ customConfig :
2267
+ type : boolean
2268
+ OrgReportingData :
2269
+ type : object
2270
+ properties :
2271
+ orgManagers :
2272
+ type : array
2273
+ items :
2274
+ $ref : " #/components/schemas/User"
2275
+ OrgSettingsData :
2276
+ type : object
2277
+ properties :
2278
+ maxSeats :
2279
+ type : integer
2280
+ format : int32
2281
+ maxBytes :
2282
+ type : integer
2283
+ format : int64
2284
+ TenantUid :
2285
+ type : object
2286
+ properties :
2287
+ defaultSystemTenant :
2288
+ type : boolean
2289
+ User :
2290
+ type : object
2291
+ properties :
2292
+ tenantUid :
2293
+ $ref : " #/components/schemas/TenantUid"
2294
+ principalId :
2295
+ type : string
2296
+ userId :
2297
+ type : integer
2298
+ format : int32
2299
+ orgId :
2300
+ type : integer
2301
+ format : int32
2302
+ username :
2303
+ type : string
2304
+ email :
2305
+ type : string
2306
+ firstName :
2307
+ type : string
2308
+ lastName :
2309
+ type : string
2310
+ lastFirstName :
2311
+ type : string
2312
+ lastFirstSearch :
2313
+ type : string
2314
+ firstLastSearch :
2315
+ type : string
2316
+ question :
2317
+ type : string
2318
+ answer :
2319
+ type : string
2320
+ passwordResetRequired :
2321
+ type : boolean
2322
+ active :
2323
+ type : boolean
2324
+ blocked :
2325
+ type : boolean
2326
+ maxBytes :
2327
+ type : integer
2328
+ format : int64
2329
+ ssoIdentityProviderUid :
2330
+ type : integer
2331
+ format : int64
2332
+ modificationDate :
2333
+ type : string
2334
+ format : date-time
2335
+ creationDate :
2336
+ type : string
2337
+ format : date-time
2338
+ apiTokenRevocationTime :
2339
+ type : integer
2340
+ format : int64
2341
+ externalReference :
2342
+ type : string
2343
+ localAuthenticationOnly :
2344
+ type : boolean
2345
+ supportUser :
2346
+ type : boolean
2347
+ status :
2348
+ type : string
2349
+ tableName :
2350
+ type : string
2351
+ idColumnName :
2352
+ type : string
2353
+ principalType :
2354
+ type : string
2355
+ enum :
2356
+ - USER
2357
+ - APIKEY
2358
+ - DEVICE
2359
+ - SERVICE
2360
+ invited :
2361
+ type : boolean
2362
+ defaultAdminUser :
2363
+ type : boolean
2364
+ firstNameAndDerivedValues :
2365
+ type : string
2366
+ writeOnly : true
2367
+ lastNameAndDerivedValues :
2368
+ type : string
2369
+ writeOnly : true
2370
+ name :
2371
+ type : string
2372
+ id :
2373
+ type : integer
2374
+ format : int32
2375
+ displayName :
2376
+ type : string
2377
+ system :
2378
+ type : boolean
2186
2379
OrgResponse_core :
2187
2380
type : object
2188
2381
properties :
0 commit comments