-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathopa-oneOfInheritance-noExamples.yaml
More file actions
11903 lines (11862 loc) · 418 KB
/
Copy pathopa-oneOfInheritance-noExamples.yaml
File metadata and controls
11903 lines (11862 loc) · 418 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.2
info:
contact:
email: support@okta.com
name: Okta Support
url: https://support.okta.com
description: The Okta Privileged Access API is a control plane used to request operations in Okta Privileged Access (formerly ScaleFT/Advanced Server Access)
termsOfService: https://www.okta.com/agreements/
title: Okta Privileged Access
version: 1.0.0
servers:
- url: https://{org_name}.pam.okta.com
description: Production server
variables:
org_name:
default: '{org_name}'
description: The name of your Okta org
tags:
- name: active-directory-accounts
x-displayName: Active Directory Accounts
description: |-
<x-lifecycle class="ea"></x-lifecycle>
The Active Directory (AD) Accounts API provides operations for managing discovered AD accounts and account mappings.
- name: active-directory-connections
x-displayName: Active Directory Connections
description: |-
<x-lifecycle class="ea"></x-lifecycle>
The Active Directory (AD) Connections API provides create, read, update, and delete (CRUD) operations for AD connections.
- name: attributes
x-displayName: Attributes
description: The Attributes API allows you to control specific settings for Okta Privileged Access users and groups.
- name: clients
x-displayName: Clients
description: |-
An Okta Privileged Access client corresponds to a specific device. Clients are the primary way users access Okta Privileged Access resources.
See [Okta Privileged Access clients](https://help.okta.com/okta_help.htm?type=oie&id=ext-pam-clients).
- name: gateways
x-displayName: Gateways
description: |-
An Okta Privileged Access gateway controls access to servers in your project.
See [Okta Privileged Access gateways](https://help.okta.com/okta_help.htm?type=oie&id=ext-pam-gateways).
- name: groups
x-displayName: Groups
description: |-
An Okta Privileged Access group is a collection of users that share permissions and access to resources.
See [Groups](https://help.okta.com/okta_help.htm?type=oie&id=ext-pam-groups).
- name: mfa-approvals
x-displayName: MFA Approvals
description: The MFA Approvals API provides operations to create MFA approvals and to check the state of an approval.
- name: okta-universal-directory-accounts
x-displayName: Okta Universal Directory Accounts
description: The Okta Universal Directory Accounts API provides operations to manage Universal Directory accounts for Okta Privileged Access teams
- name: projects
x-displayName: Projects
description: |-
An Okta Privileged Access project is a collection of resources that share settings.
See [Projects](https://help.okta.com/okta_help.htm?type=oie&id=ext-pam-projects).
- name: random-password-generation
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: false
SKUs: []
x-displayName: Random Password Generation
description: The Random Password Generation API provides operations to generate a random password.
- name: reports
x-displayName: Access Reports
description: The Access Reports API is a convenient way of generating reports on users and resources for your team. You can use Okta Workflows to interact with these operations and store generated reports in a Workflows Table.
- name: resource-groups
x-displayName: Resource groups
description: |-
An Okta Privileged Access resource group is a collection of projects.
See [Resource groups](https://help.okta.com/okta_help.htm?type=oie&id=ext-pam-resource-groups).
- name: saas-app-accounts
x-displayName: SaaS Application Accounts
description: The SaaS Application Accounts API provides operations to manage SaaS app accounts for Okta Privileged Access teams.
- name: secrets
x-displayName: Secrets
description: |-
The Secrets API provides operations to manage Secrets for Okta Privileged Access teams. Secrets are encrypted key-value pairs used to store sensitive information.
See [Secrets](https://help.okta.com/okta_help.htm?type=oie&id=ext-pam-secrets).
- name: security-policy
x-displayName: Security Policy
description: |-
The Security Policy API provides operations to manage security policies for Okta Privileged Access teams. Security policies control which user groups can access resources and any methods they can use to connect. Security policy operations use several nested objects to correctly define a created policy.
See [Security policy](https://help.okta.com/okta_help.htm?type=oie&id=ext-pam-policy).
- name: server-accounts
x-displayName: Server Accounts
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: false
SKUs: []
description: The Server Accounts API provides operations to manage server accounts for Okta Privileged Access teams.
- name: servers
x-displayName: Servers
description: The Servers API provides operations related to servers enrolled in an Okta Privileged Access project.
- name: service-users
x-displayName: Service Users
description: An Okta Privileged Access service user is used to access the Okta Privileged Access API. Each service user is provided tokens, which authenticate and authorize against the service.
- name: staged-service-accounts
x-displayName: Staged Service Accounts
description: The Staged Service Accounts API provides admin operations to set up SaaS app accounts and Universal Directory accounts for Okta Privileged Access teams.
- name: sudo-commands
x-displayName: Sudo Commands
description: The Sudo Commands API provides operations to manage a set of sudo commands (sudo command bundles). You can create any number of bundles, but each bundle can only contain up to 64 commands. You control the order of sudo command bundles by the name of each bundle. See [Sudo command bundle](https://help.okta.com/oie/en-us/okta_help.htm#cshid=csh-pam-sudo-commands).
- name: teams
x-displayName: Teams
description: The top-level organizational container. Each team maps to a single app in the Okta dashboard.
- name: users
x-displayName: Users
description: A user corresponds to a human or service user in an Okta Privileged Access team
- name: workload-connections
x-displayName: Workload Connections
description: The Workload Connections API provides operations to manage workload connections for Okta Privileged Access teams.
- name: workload-roles
x-displayName: Workload Roles
description: The Workload Roles API provides operations to manage workload roles for Okta Privileged Access teams.
paths:
/v1/resolve:
post:
summary: Resolve resource names
description: Resolves enrolled resource names and returns any associated information and user access methods (UAMs)
operationId: ResolveResource
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ResolveResourceNamesRequest'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ResolveResourceNamesResponse'
description: OK
tags:
- servers
/v1/teams/{team_name}/access_reports:
parameters:
- $ref: '#/components/parameters/team_name'
get:
x-okta-opa-roles:
- security_admin
summary: List all access reports
description: Lists all access reports
operationId: ListAccessReports
responses:
'200':
description: OK
content:
application/json:
schema:
title: ListAccessReportsResponse
type: object
properties:
list:
items:
type: array
items:
$ref: '#/components/schemas/AccessReport'
tags:
- reports
post:
x-okta-opa-roles:
- security_admin
summary: Create an access report
description: Create an access report. Each report must be connected to a specific user or resource.
operationId: CreateAccessReport
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AccessReportCreateTarget'
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/AccessReport'
tags:
- reports
/v1/teams/{team_name}/access_reports/{access_report_id}:
parameters:
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/access_report_id'
get:
x-okta-opa-roles:
- security_admin
summary: Retrieve an access report
description: Retrieve the metadata of the specified access report
operationId: GetAccessReport
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/AccessReport'
tags:
- reports
/v1/teams/{team_name}/access_reports/{access_report_id}/report:
parameters:
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/access_report_id'
get:
x-okta-opa-roles:
- security_admin
summary: Download an access report
description: Downloads the specific access report for review. The CSV formatted report is included in the response.
operationId: DownloadAccessReport
responses:
'200':
description: OK
content:
text/csv:
schema:
type: string
description: The CSV formatted access report
tags:
- reports
/v1/teams/{team_name}/active_directory:
parameters:
- $ref: '#/components/parameters/team_name'
get:
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
x-okta-opa-roles:
- end_user
summary: List all Active Directory domains
description: Lists all Active Directory domains that you (as the request user) can access based on the security policies
operationId: ListActiveDirectoryDomains
parameters:
- description: Filter by domain name
explode: true
in: query
name: domain
required: false
schema:
type: string
example: myokta.local
style: simple
- name: contains
description: <x-lifecycle-container><x-lifecycle class="ea"></x-lifecycle></x-lifecycle-container>Filters for domain name where the name contains the search string
in: query
required: false
schema:
type: string
minLength: 1
maxLength: 255
pattern: ^[\w\-_.]+$
example: admin
responses:
'200':
description: OK
content:
application/json:
schema:
title: ListActiveDirectoryDomainsResponse
properties:
list:
items:
$ref: '#/components/schemas/ActiveDirectoryDomain'
tags:
- active-directory-accounts
/v1/teams/{team_name}/active_directory/{ad_connection_id}:
parameters:
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/ad_connection_id'
get:
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
x-okta-opa-roles:
- end_user
summary: Retrieve an Active Directory connection
description: Retrieves an Active Directory connection that you (as the request user) can access
operationId: GetActiveDirectoryDomainEndUser
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ActiveDirectoryDomain'
tags:
- active-directory-accounts
/v1/teams/{team_name}/active_directory/{ad_connection_id}/accounts:
parameters:
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/ad_connection_id'
- $ref: '#/components/parameters/account_name'
get:
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
x-okta-opa-roles:
- end_user
summary: List all Active Directory accounts within a connection
description: Lists all Active Directory accounts within a connection that you (as the request user) can access
operationId: ListActiveDirectoryAccountsEndUser
responses:
'200':
description: OK
content:
application/json:
schema:
title: ListActiveDirectoryAccountsEndUserResponse
properties:
list:
items:
$ref: '#/components/schemas/ActiveDirectoryAccountEndUserList'
tags:
- active-directory-accounts
/v1/teams/{team_name}/active_directory/{ad_connection_id}/accounts/{ad_account_id}:
parameters:
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/ad_connection_id'
- $ref: '#/components/parameters/ad_account_id'
get:
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
x-okta-opa-roles:
- end_user
summary: Retrieve an Active Directory account
description: Retrieves an Active Directory account that you (as the request user) can access
operationId: GetActiveDirectoryAccountEndUser
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ActiveDirectoryAccountEndUser'
tags:
- active-directory-accounts
/v1/teams/{team_name}/active_directory/{ad_connection_id}/accounts/{ad_account_id}/reveal_credentials:
parameters:
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/ad_connection_id'
- $ref: '#/components/parameters/ad_account_id'
post:
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
x-okta-opa-roles:
- end_user
summary: Reveal the password for Active Directory account
description: Reveals the password belonging to an Active Directory account that you (as the request user) can access
operationId: revealActiveDirectoryAccountPassword
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ActiveDirectoryAccountsRevealCredentialsRequest'
required: true
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ActiveDirectoryAccountsRevealCredentialsResponse'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedAccessResponse'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundResponse'
tags:
- active-directory-accounts
/v1/teams/{team_name}/active_directory/{ad_connection_id}/accounts/{ad_account_id}/rotate_password:
parameters:
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/ad_connection_id'
- $ref: '#/components/parameters/ad_account_id'
post:
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
x-okta-opa-roles:
- end_user
summary: Rotate the password for Active Directory account
description: Rotates the password belonging to an Active Directory account that you (as the request user) can access
operationId: rotateActiveDirectoryAccountPassword
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ActiveDirectoryAccountsRotatePasswordRequest'
required: true
responses:
'204':
description: No Content
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedAccessResponse'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundResponse'
tags:
- active-directory-accounts
/v1/teams/{team_name}/active_directory/{ad_connection_id}/accounts/{ad_account_id}/user_access_methods:
parameters:
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/ad_connection_id'
- $ref: '#/components/parameters/ad_account_id'
get:
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
x-okta-opa-roles:
- end_user
summary: List all user access methods for an Active Directory account
description: Lists all user access methods for an Active Directory (AD) account based on the security policies
operationId: ListUAMForActiveDirectoryAccount
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/ListUAMForActiveDirectoryAccountResponse'
tags:
- active-directory-accounts
/v1/teams/{team_name}/all_active_directory_accounts:
parameters:
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/contains'
- $ref: '#/components/parameters/ad_account_type'
- $ref: '#/components/parameters/ad_connection_ids'
get:
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
x-okta-opa-roles:
- security_admin
summary: List all Active Directory accounts
description: Lists all Active Directory accounts
operationId: ListAllActiveDirectoryAccountsForSecurityAdmin
responses:
'200':
description: OK
content:
application/json:
schema:
title: ListAllActiveDirectoryAccountsForSecurityAdminResponse
properties:
list:
items:
$ref: '#/components/schemas/ActiveDirectoryAccount'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedAccessResponse'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundResponse'
tags:
- active-directory-accounts
/v1/teams/{team_name}/all_okta_universal_directory_accounts:
parameters:
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/contains'
get:
x-okta-opa-roles:
- security_admin
summary: List all Universal Directory accounts
description: Lists all Universal Directory accounts
operationId: ListAllOktaUniversalDirectoryAccountsForSecurityAdmin
responses:
'200':
description: OK
content:
application/json:
schema:
title: ListAllOktaUniversalDirectoryAccountsForSecurityAdminResponse
properties:
list:
items:
$ref: '#/components/schemas/OktaUniversalDirectoryAccount'
tags:
- okta-universal-directory-accounts
/v1/teams/{team_name}/all_saas_app_accounts:
parameters:
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/contains'
- name: managed
description: If `true`, only return SaaS app accounts that support password rotation. If `false`, only return SaaS app accounts that do not support password rotation.
in: query
schema:
type: boolean
- $ref: '#/components/parameters/count'
- $ref: '#/components/parameters/descending'
- $ref: '#/components/parameters/offset'
- $ref: '#/components/parameters/prev'
get:
x-okta-opa-roles:
- security_admin
summary: List all SaaS app accounts
description: Lists all SaaS app accounts
operationId: ListAllSaasAppAccountsForSecurityAdmin
responses:
'200':
description: OK
content:
application/json:
schema:
title: ListAllSaasAppAccountsForSecurityAdminResponse
properties:
list:
items:
$ref: '#/components/schemas/SaasAppAccount'
tags:
- saas-app-accounts
/v1/teams/{team_name}/all_server_accounts:
parameters:
- $ref: '#/components/parameters/team_name'
get:
x-okta-opa-roles:
- security_admin
summary: List all server account resources
description: Lists all server account resources
operationId: ListAllServerAccountResourcesForSecurityAdmin
responses:
'200':
description: OK
content:
application/json:
schema:
title: ListAllServerAccountResourcesForSecurityAdminResponse
properties:
list:
items:
$ref: '#/components/schemas/ServerAccounts'
tags:
- servers
/v1/teams/{team_name}/all_servers:
parameters:
- $ref: '#/components/parameters/id'
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/resource_group_id_query'
- $ref: '#/components/parameters/project_id_query'
- $ref: '#/components/parameters/hostname'
- $ref: '#/components/parameters/hostname_contains'
- $ref: '#/components/parameters/os_type'
get:
x-okta-opa-roles:
- security_admin
summary: List all servers
description: Lists all servers for your team
operationId: ListAllServersForAdmin
responses:
'200':
description: OK
content:
application/json:
schema:
title: ListAllServersForAdminResponse
properties:
list:
items:
$ref: '#/components/schemas/Server'
tags:
- servers
/v1/teams/{team_name}/attributes/conflicts:
parameters:
- $ref: '#/components/parameters/team_name'
get:
x-okta-opa-roles:
- resource_admin
- security_admin
summary: List all attribute conflicts for a team
description: Lists all attribute conflicts for a team
operationId: ListTeamUserAttributeConflicts
parameters:
- $ref: '#/components/parameters/count'
- $ref: '#/components/parameters/descending'
- $ref: '#/components/parameters/offset'
- $ref: '#/components/parameters/prev'
responses:
'200':
content:
application/json:
schema:
title: ListTeamUserAttributeConflictsResponse
properties:
list:
items:
$ref: '#/components/schemas/TeamUserAttributeConflict'
type: array
type: object
description: OK
headers:
Link:
description: |-
Link Header defined by RFC 8288.
A Link header with rel="next" indicates that a subsequent page is available and contains the URL which should be used to fetch it.
A Link header with rel="prev" indicates that a previous page is available and contains the URL which should be used to fetch it.
schema:
type: string
tags:
- attributes
/v1/teams/{team_name}/attributes/options:
parameters:
- $ref: '#/components/parameters/team_name'
get:
x-okta-opa-roles:
- security_admin
summary: List all attribute options
description: Lists all attribute options configured for the team, such as `unix_uid` or `unix_gid` ranges
operationId: ListAttributeOptions
parameters:
- $ref: '#/components/parameters/count'
- $ref: '#/components/parameters/descending'
- $ref: '#/components/parameters/offset'
- $ref: '#/components/parameters/prev'
responses:
'200':
content:
application/json:
schema:
title: ListAttributeOptionsResponse
type: object
properties:
list:
type: array
items:
$ref: '#/components/schemas/AttributeOption'
description: List of attribute options for the team
description: OK
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestResponse'
tags:
- attributes
/v1/teams/{team_name}/attributes/options/{namespace}/{attribute_name}:
parameters:
- $ref: '#/components/parameters/team_name'
- in: path
name: namespace
required: true
schema:
type: string
description: Namespace for the attribute option. Valid values are `user` or `group`.
- in: path
name: attribute_name
required: true
schema:
type: string
description: |
Attribute name. Valid values:
* `unix_uid`, `unix_gid` (for `user` namespace)
* `unix_gid` (for `group` namespace)
get:
x-okta-opa-roles:
- security_admin
summary: Retrieve an attribute option
description: Retrieves the attribute range option for the specified namespace and attribute
operationId: FetchAttributeOption
parameters:
- in: query
name: exclude_defaults
schema:
type: boolean
default: false
required: false
description: Specify `true` to return the non-default option. If only the default option exists, an HTTP 404 error is returned. Specify `false` to return any option available, including the default option.
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AttributeOption'
description: OK
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestResponse'
tags:
- attributes
put:
x-okta-opa-roles:
- security_admin
summary: Upsert an attribute option
description: Creates or updates the attribute option (the minimum and maximum range) for the specified namespace and attribute
operationId: UpsertAttributeOption
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AttributeOption'
example:
namespace: user
attribute_name: unix_uid
details:
min: 1001
max: 4294967295
required: true
responses:
'201':
description: Created or updated successfully
content:
application/json:
schema:
$ref: '#/components/schemas/AttributeOption'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestResponse'
tags:
- attributes
delete:
x-okta-opa-roles:
- security_admin
summary: Delete an attribute option
description: Deletes the attribute option for the specified namespace and attribute
operationId: DeleteAttributeOption
responses:
'204':
description: No Content
tags:
- attributes
/v1/teams/{team_name}/checked_out_resources:
parameters:
- $ref: '#/components/parameters/team_name'
get:
x-okta-opa-roles:
- end_user
summary: List all resources checked out by a user
description: Lists all resources checked out by the current user
operationId: ListAllCheckedOutResourcesByUser
parameters:
- name: resource_type
description: 'If specified, only returns resources with a matching type. Valid resource types: `server_account_password_login`.'
in: query
schema:
type: string
required: false
- name: include_pending_checkin
description: If specified, also returns resources that have already started the checkin process. These are not included by default.
in: query
schema:
type: boolean
required: false
- $ref: '#/components/parameters/count'
- $ref: '#/components/parameters/descending'
- $ref: '#/components/parameters/offset'
- $ref: '#/components/parameters/prev'
responses:
'200':
description: OK
content:
application/json:
schema:
title: ListAllCheckedOutResourcesByUserResponse
properties:
list:
items:
$ref: '#/components/schemas/CheckedOutResourceByUserDetails'
tags:
- teams
/v1/teams/{team_name}/checkin_resource:
parameters:
- $ref: '#/components/parameters/team_name'
post:
x-okta-opa-roles:
- resource_admin
- security_admin
- end_user
summary: Check in a resource
description: Checks in a resource that was previously checked out by a user
operationId: SelfCheckinResource
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CheckinResourceRequest'
responses:
'204':
description: No Content
tags:
- teams
/v1/teams/{team_name}/clients:
parameters:
- $ref: '#/components/parameters/team_name'
get:
x-okta-opa-roles:
- resource_admin
- security_admin
- end_user
summary: List all clients
description: Returns a list of clients for your team. By default, this only returns clients associated with the requesting user. Use query parameters to adjust the list of returned clients.
operationId: ListClients
parameters:
- name: all
description: When `true`, returns all clients for the team
in: query
schema:
type: boolean
- $ref: '#/components/parameters/count'
- $ref: '#/components/parameters/descending'
- $ref: '#/components/parameters/offset'
- $ref: '#/components/parameters/prev'
- name: state
description: 'Only return clients with the specified state. Valid statuses: `ACTIVE`, `PENDING`, or `DELETED`.'
in: query
schema:
type: string
- name: username
description: Only return clients assigned to the specified user. An empty string returns unassigned clients.
in: query
schema:
type: string
responses:
'200':
content:
application/json:
schema:
title: ListClientsResponse
properties:
list:
items:
$ref: '#/components/schemas/Client'
type: array
type: object
description: OK
headers:
Link:
description: |-
Link Header defined by RFC 8288.
A Link header with rel="next" indicates that a subsequent page is available and contains the URL which should be used to fetch it.
A Link header with rel="prev" indicates that a previous page is available and contains the URL which should be used to fetch it.
schema:
type: string
tags:
- clients
/v1/teams/{team_name}/clients/{client_id}:
parameters:
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/client_id'
get:
x-okta-opa-roles:
- resource_admin
- security_admin
- end_user
summary: Retrieve a client
description: Retrieves the properties of a specified client
operationId: FetchClient
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Client'
description: OK
tags:
- clients
put:
x-okta-opa-roles:
- resource_admin
summary: Update a client
description: Updates the state or assigned user for a specified client. This is required for some enrollment policies. See [Silently enroll the Client](https://help.okta.com/okta_help.htm?type=asa&id=ext-asa-enroll-sft-silent).
operationId: UpdateClient
requestBody:
content:
application/json:
example:
state: ACTIVE
user_name: Jason.Compson.IV
schema:
$ref: '#/components/schemas/ClientUpdateRequest'
required: true
responses:
'204':
description: No Content
tags:
- clients
delete:
x-okta-opa-roles:
- resource_admin
- security_admin
- end_user
summary: Revoke access to a client
description: Revokes access to a specified client from your team
operationId: RemoveClient
responses:
'204':
description: No Content
tags:
- clients
/v1/teams/{team_name}/connections/active_directory:
parameters:
- $ref: '#/components/parameters/team_name'
get:
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
x-okta-opa-roles:
- resource_admin
- security_admin
summary: List all Active Directory connections
description: Lists all Active Directory connections
operationId: listActiveDirectoryConnections
parameters:
- $ref: '#/components/parameters/count'
- $ref: '#/components/parameters/descending'
- $ref: '#/components/parameters/offset'
- $ref: '#/components/parameters/prev'
responses:
'200':
description: Success
content:
application/json:
schema:
title: ListActiveDirectoryConnectionsResponse
properties:
list:
type: array
items:
$ref: '#/components/schemas/ActiveDirectoryConnection'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedAccessResponse'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundResponse'
tags:
- active-directory-connections
/v1/teams/{team_name}/connections/active_directory/{ad_connection_id}:
parameters:
- $ref: '#/components/parameters/team_name'
- $ref: '#/components/parameters/ad_connection_id'
get:
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
x-okta-opa-roles:
- resource_admin
- security_admin
summary: Retrieve an Active Directory connection
description: Retrieves an Active Directory connection
operationId: getActiveDirectoryConnection
responses:
'200':
description: Success