-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser-manager-openapi.yml
More file actions
1075 lines (1030 loc) · 29.6 KB
/
Copy pathuser-manager-openapi.yml
File metadata and controls
1075 lines (1030 loc) · 29.6 KB
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
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.3
info:
title: User Manager API
version: 0.1.0
description: |
Manage users, groups, roles, and user-group membership for VDX tenants. Users and groups extend
the Party model, while roles are authorization grants rather than parties.
The API covers user and group lifecycle, role assignment, membership changes, and profile
information used by operational user-management screens.
servers:
- url: http://localhost:8091/api/users/v1
security:
- bearer: []
tags:
- name: Users
description: User lifecycle, role assignment, group membership, and tenant access.
- name: Groups
description: Group lifecycle, member management, and role assignment.
- name: Roles
description: Role lifecycle management.
- name: Tenants
description: Tenant lifecycle management.
paths:
# ============================================
# USERS
# ============================================
/users:
get:
tags: [Users]
operationId: listUsers
summary: List users
parameters:
- name: username
in: query
schema:
type: string
description: Filter by username (partial match).
- name: email
in: query
schema:
type: string
description: Filter by email (partial match).
- name: userType
in: query
schema:
$ref: '#/components/schemas/UserType'
- name: enabled
in: query
schema:
type: boolean
- name: includeDeleted
in: query
schema:
type: boolean
default: false
description: Include soft-deleted users in results.
- name: page
in: query
schema:
type: integer
minimum: 0
default: 0
- name: size
in: query
schema:
type: integer
minimum: 1
maximum: 200
default: 20
responses:
'200':
description: Paged list of users.
content:
application/json:
schema:
$ref: '#/components/schemas/UserListResponse'
post:
tags: [Users]
operationId: createUser
summary: Create user
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UserCreateRequest'
responses:
'201':
description: User created.
content:
application/json:
schema:
$ref: '#/components/schemas/UserDetail'
'400':
$ref: './common-components.yml#/components/responses/ValidationError'
'409':
$ref: './common-components.yml#/components/responses/Conflict'
/users/{userId}:
parameters:
- $ref: '#/components/parameters/UserId'
get:
tags: [Users]
operationId: getUser
summary: Get user
parameters:
- name: include
in: query
schema:
type: string
description: Comma-separated list of related data to include. Values - roles, groups, tenants, naturalPerson. Use all four for full details.
responses:
'200':
description: User details.
content:
application/json:
schema:
$ref: '#/components/schemas/UserDetail'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
put:
tags: [Users]
operationId: replaceUser
summary: Full update user
description: Replaces all updatable fields of the user. All required fields must be provided.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UserFullUpdateRequest'
responses:
'200':
description: Updated user.
content:
application/json:
schema:
$ref: '#/components/schemas/UserDetail'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
patch:
tags: [Users]
operationId: updateUser
summary: Partial update user
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UserUpdateRequest'
responses:
'200':
description: Updated user.
content:
application/json:
schema:
$ref: '#/components/schemas/UserDetail'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
delete:
tags: [Users]
operationId: deleteUser
summary: Soft-delete user
responses:
'204':
description: Deleted.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
# User Roles
/users/{userId}/roles:
parameters:
- $ref: '#/components/parameters/UserId'
get:
tags: [Users]
operationId: getUserRoles
summary: Get user's directly assigned roles
responses:
'200':
description: List of roles.
content:
application/json:
schema:
$ref: '#/components/schemas/RoleListResponse'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
/users/{userId}/roles/{roleId}:
parameters:
- $ref: '#/components/parameters/UserId'
- $ref: '#/components/parameters/RoleId'
post:
tags: [Users]
operationId: assignRoleToUser
summary: Assign role to user
responses:
'204':
description: Role assigned.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
delete:
tags: [Users]
operationId: removeRoleFromUser
summary: Remove role from user
responses:
'204':
description: Role removed.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
# User Groups
/users/{userId}/groups:
parameters:
- $ref: '#/components/parameters/UserId'
get:
tags: [Users]
operationId: getUserGroups
summary: Get user's group memberships
responses:
'200':
description: List of groups.
content:
application/json:
schema:
$ref: '#/components/schemas/GroupListResponse'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
/users/{userId}/groups/{groupId}:
parameters:
- $ref: '#/components/parameters/UserId'
- $ref: '#/components/parameters/GroupId'
post:
tags: [Users]
operationId: addUserToGroup
summary: Add user to group
responses:
'204':
description: User added to group.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
delete:
tags: [Users]
operationId: removeUserFromGroup
summary: Remove user from group
responses:
'204':
description: User removed from group.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
# User Tenant Access
/users/{userId}/tenants:
parameters:
- $ref: '#/components/parameters/UserId'
get:
tags: [Users]
operationId: getUserTenants
summary: Get accessible tenants for user
responses:
'200':
description: List of tenant access records.
content:
application/json:
schema:
$ref: '#/components/schemas/TenantAccessListResponse'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
/users/{userId}/tenants/{tenantId}:
parameters:
- $ref: '#/components/parameters/UserId'
- $ref: '#/components/parameters/TargetTenantId'
post:
tags: [Users]
operationId: grantTenantAccess
summary: Grant user access to tenant
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TenantAccessRequest'
responses:
'204':
description: Access granted.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
delete:
tags: [Users]
operationId: revokeTenantAccess
summary: Revoke user access to tenant
responses:
'204':
description: Access revoked.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
# ============================================
# GROUPS
# ============================================
/groups:
get:
tags: [Groups]
operationId: listGroups
summary: List groups
parameters:
- name: name
in: query
schema:
type: string
description: Filter by name (partial match).
- name: includeDeleted
in: query
schema:
type: boolean
default: false
description: Include soft-deleted groups in results.
- name: page
in: query
schema:
type: integer
minimum: 0
default: 0
- name: size
in: query
schema:
type: integer
minimum: 1
maximum: 200
default: 20
responses:
'200':
description: Paged list of groups.
content:
application/json:
schema:
$ref: '#/components/schemas/GroupListResponse'
post:
tags: [Groups]
operationId: createGroup
summary: Create group
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GroupCreateRequest'
responses:
'201':
description: Group created.
content:
application/json:
schema:
$ref: '#/components/schemas/GroupDetail'
'400':
$ref: './common-components.yml#/components/responses/ValidationError'
'409':
$ref: './common-components.yml#/components/responses/Conflict'
/groups/{groupId}:
parameters:
- $ref: '#/components/parameters/GroupId'
get:
tags: [Groups]
operationId: getGroup
summary: Get group
parameters:
- name: include
in: query
schema:
type: string
description: Comma-separated list of related data to include. Values - members, roles. Use both for full details.
responses:
'200':
description: Group details.
content:
application/json:
schema:
$ref: '#/components/schemas/GroupDetail'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
put:
tags: [Groups]
operationId: replaceGroup
summary: Full update group
description: Replaces all updatable fields of the group. All required fields must be provided.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GroupFullUpdateRequest'
responses:
'200':
description: Updated group.
content:
application/json:
schema:
$ref: '#/components/schemas/GroupDetail'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
patch:
tags: [Groups]
operationId: updateGroup
summary: Partial update group
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GroupUpdateRequest'
responses:
'200':
description: Updated group.
content:
application/json:
schema:
$ref: '#/components/schemas/GroupDetail'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
delete:
tags: [Groups]
operationId: deleteGroup
summary: Soft-delete group
responses:
'204':
description: Deleted.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
# Group Members
/groups/{groupId}/members:
parameters:
- $ref: '#/components/parameters/GroupId'
get:
tags: [Groups]
operationId: getGroupMembers
summary: Get group members
responses:
'200':
description: List of users in the group.
content:
application/json:
schema:
$ref: '#/components/schemas/UserListResponse'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
/groups/{groupId}/members/{userId}:
parameters:
- $ref: '#/components/parameters/GroupId'
- $ref: '#/components/parameters/UserId'
post:
tags: [Groups]
operationId: addMemberToGroup
summary: Add member to group
responses:
'204':
description: Member added.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
delete:
tags: [Groups]
operationId: removeMemberFromGroup
summary: Remove member from group
responses:
'204':
description: Member removed.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
# Group Roles
/groups/{groupId}/roles:
parameters:
- $ref: '#/components/parameters/GroupId'
get:
tags: [Groups]
operationId: getGroupRoles
summary: Get group's assigned roles
responses:
'200':
description: List of roles.
content:
application/json:
schema:
$ref: '#/components/schemas/RoleListResponse'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
/groups/{groupId}/roles/{roleId}:
parameters:
- $ref: '#/components/parameters/GroupId'
- $ref: '#/components/parameters/RoleId'
post:
tags: [Groups]
operationId: assignRoleToGroup
summary: Assign role to group
responses:
'204':
description: Role assigned.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
delete:
tags: [Groups]
operationId: removeRoleFromGroup
summary: Remove role from group
responses:
'204':
description: Role removed.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
# ============================================
# TENANTS
# ============================================
/tenants:
get:
tags: [Tenants]
operationId: listTenants
summary: List tenants
parameters:
- name: search
in: query
description: Filter by name (case-insensitive contains).
schema:
type: string
- name: page
in: query
schema:
type: integer
minimum: 0
default: 0
- name: size
in: query
schema:
type: integer
minimum: 1
maximum: 100
default: 20
responses:
'200':
description: Paged list of tenants.
content:
application/json:
schema:
$ref: '#/components/schemas/TenantListResponse'
post:
tags: [Tenants]
operationId: createTenant
summary: Create tenant
description: |
Creates a new tenant. If organizationPartyId is not provided,
a new Party (organization) will be automatically created.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TenantCreateRequest'
responses:
'201':
description: Tenant created.
content:
application/json:
schema:
$ref: './user-manager-components.yml#/components/schemas/TenantDetail'
'400':
$ref: './common-components.yml#/components/responses/ValidationError'
'409':
$ref: './common-components.yml#/components/responses/Conflict'
/tenants/{tenantId}:
parameters:
- $ref: '#/components/parameters/TenantPathId'
get:
tags: [Tenants]
operationId: getTenant
summary: Get tenant
responses:
'200':
description: Tenant details with organization and branding.
content:
application/json:
schema:
$ref: './user-manager-components.yml#/components/schemas/TenantDetail'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
put:
tags: [Tenants]
operationId: replaceTenant
summary: Full update tenant
description: Replaces all updatable fields of the tenant. All required fields must be provided.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TenantFullUpdateRequest'
responses:
'200':
description: Updated tenant.
content:
application/json:
schema:
$ref: './user-manager-components.yml#/components/schemas/TenantDetail'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
patch:
tags: [Tenants]
operationId: updateTenant
summary: Partial update tenant
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TenantUpdateRequest'
responses:
'200':
description: Updated tenant.
content:
application/json:
schema:
$ref: './user-manager-components.yml#/components/schemas/TenantDetail'
'400':
$ref: './common-components.yml#/components/responses/ValidationError'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
delete:
tags: [Tenants]
operationId: deleteTenant
summary: Delete tenant
description: Soft-delete a tenant. Associated data remains but is inaccessible.
responses:
'204':
description: Tenant deleted.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
# ============================================
# ROLES
# ============================================
/roles:
get:
tags: [Roles]
operationId: listRoles
summary: List roles
parameters:
- name: name
in: query
schema:
type: string
description: Filter by name (partial match).
- name: includeDeleted
in: query
schema:
type: boolean
default: false
description: Include soft-deleted roles in results.
- name: page
in: query
schema:
type: integer
minimum: 0
default: 0
- name: size
in: query
schema:
type: integer
minimum: 1
maximum: 200
default: 20
responses:
'200':
description: Paged list of roles.
content:
application/json:
schema:
$ref: '#/components/schemas/RoleListResponse'
post:
tags: [Roles]
operationId: createRole
summary: Create role
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RoleCreateRequest'
responses:
'201':
description: Role created.
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
'400':
$ref: './common-components.yml#/components/responses/ValidationError'
'409':
$ref: './common-components.yml#/components/responses/Conflict'
/roles/{roleId}:
parameters:
- $ref: '#/components/parameters/RoleId'
get:
tags: [Roles]
operationId: getRole
summary: Get role
responses:
'200':
description: Role details.
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
put:
tags: [Roles]
operationId: replaceRole
summary: Full update role
description: Replaces all updatable fields of the role. All required fields must be provided.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RoleFullUpdateRequest'
responses:
'200':
description: Updated role.
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
patch:
tags: [Roles]
operationId: updateRole
summary: Partial update role
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RoleUpdateRequest'
responses:
'200':
description: Updated role.
content:
application/json:
schema:
$ref: '#/components/schemas/Role'
'404':
$ref: './common-components.yml#/components/responses/NotFound'
delete:
tags: [Roles]
operationId: deleteRole
summary: Soft-delete role
responses:
'204':
description: Deleted.
'404':
$ref: './common-components.yml#/components/responses/NotFound'
components:
securitySchemes:
bearer:
$ref: './common-components.yml#/components/securitySchemes/bearer'
parameters:
# -- Re-exported path parameters from user-manager-components.yml --
UserId:
$ref: './user-manager-components.yml#/components/parameters/UserId'
GroupId:
$ref: './user-manager-components.yml#/components/parameters/GroupId'
RoleId:
$ref: './user-manager-components.yml#/components/parameters/RoleId'
TargetTenantId:
$ref: './user-manager-components.yml#/components/parameters/TargetTenantId'
TenantPathId:
$ref: './user-manager-components.yml#/components/parameters/TenantPathId'
schemas:
# -- Re-exported entity schemas and enums from user-manager-components.yml --
UserType:
$ref: './user-manager-components.yml#/components/schemas/UserType'
TenantUserStatus:
$ref: './user-manager-components.yml#/components/schemas/TenantUserStatus'
User:
$ref: './user-manager-components.yml#/components/schemas/User'
UserDetail:
$ref: './user-manager-components.yml#/components/schemas/UserDetail'
UserCreateRequest:
type: object
required:
- username
properties:
username:
type: string
minLength: 1
maxLength: 255
email:
type: string
format: email
enabled:
type: boolean
default: true
userType:
$ref: '#/components/schemas/UserType'
default: INTERNAL
displayName:
type: string
naturalPersonId:
type: string
format: uuid
UserUpdateRequest:
type: object
description: Partial update. Only provided fields are changed. Note that username cannot be changed after creation.
properties:
email:
type: string
format: email
enabled:
type: boolean
userType:
$ref: '#/components/schemas/UserType'
displayName:
type: string
naturalPersonId:
type: string
format: uuid
nullable: true
UserFullUpdateRequest:
type: object
description: Full update. All updatable fields must be provided. Note that username cannot be changed after creation.
required:
- email
- enabled
- userType
- displayName
properties:
email:
type: string
format: email
enabled:
type: boolean
userType:
$ref: '#/components/schemas/UserType'
displayName:
type: string
naturalPersonId:
type: string
format: uuid
nullable: true
UserListResponse:
type: object
required:
- items
properties:
items:
type: array
items:
$ref: '#/components/schemas/User'
page:
$ref: './common-components.yml#/components/schemas/PagingMeta'
# Group schemas
Group:
$ref: './user-manager-components.yml#/components/schemas/Group'
GroupDetail:
$ref: './user-manager-components.yml#/components/schemas/GroupDetail'
GroupCreateRequest:
type: object
required:
- name
properties:
name:
type: string
minLength: 1
maxLength: 255
description:
type: string
GroupUpdateRequest:
type: object
description: Partial update. Only provided fields are changed.
properties:
name:
type: string
minLength: 1
maxLength: 255
description:
type: string
GroupFullUpdateRequest:
type: object
description: Full update. All updatable fields must be provided.
required:
- name
- description
properties:
name:
type: string
minLength: 1
maxLength: 255
description:
type: string
GroupListResponse:
type: object
required:
- items
properties:
items:
type: array
items:
$ref: '#/components/schemas/Group'
page:
$ref: './common-components.yml#/components/schemas/PagingMeta'
# Role schemas
Role:
$ref: './user-manager-components.yml#/components/schemas/Role'
RoleCreateRequest:
type: object
required:
- name
properties:
name:
type: string
minLength: 1
maxLength: 255
description:
type: string
RoleUpdateRequest:
type: object
description: Partial update. Only provided fields are changed.
properties:
name:
type: string
minLength: 1
maxLength: 255
description:
type: string
RoleFullUpdateRequest:
type: object
description: Full update. All updatable fields must be provided.
required:
- name
- description
properties:
name:
type: string
minLength: 1
maxLength: 255
description:
type: string
RoleListResponse:
type: object
required:
- items
properties:
items:
type: array
items:
$ref: '#/components/schemas/Role'
page:
$ref: './common-components.yml#/components/schemas/PagingMeta'
# Tenant Access schemas
TenantAccess:
$ref: './user-manager-components.yml#/components/schemas/TenantAccess'
TenantAccessRequest:
type: object
properties:
status:
$ref: '#/components/schemas/TenantUserStatus'
default: ACTIVE
TenantAccessListResponse:
type: object
required:
- items
properties:
items: