-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathoag-oneOfInheritance-noExamples.yaml
More file actions
3935 lines (3871 loc) · 161 KB
/
Copy pathoag-oneOfInheritance-noExamples.yaml
File metadata and controls
3935 lines (3871 loc) · 161 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.0
info:
title: Okta Access Gateway
description: Okta Access Gateway
version: 1.0.0
servers:
- url: https://{oagHostname}
variables:
oagHostname:
default: oag.domain.tld
description: Virtual hostname of OAG cluster
tags:
- name: AccessTokens
x-displayName: Access Tokens
description: The Access Tokens API allows you to create access tokens for API requests.
- name: Application Attributes
description: The Attributes API allows you to retrieve and manage attributes of your applications.
- name: Application Behavior
description: The Behaviors API allows you to retrieve and manage the behavior configurations of your applications.
- name: Application Health Check
description: The Health Check API allows you to retrieve and manage the health status configuration for the protected resources of an application.
- name: Application Offline Mode
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
description: |-
<x-lifecycle-container><x-lifecycle class="ea"></x-lifecycle></x-lifecycle-container>The Application Offline Mode API allows you to manage the offline mode configuration of your applications.
Offline mode is a feature of Access Gateway that allows it to continue functioning with modified capabilities when the connection to the identity provider (IdP) is lost. This API allows you to manage the offline mode settings at the application level, which applies to all users and IdPs associated with the application.
> **Note:** This API is available in a Limited Early Access program and may be updated or changed based on feedback. Be aware that the API may change.
- name: Application Policies
description: The Policies API allows you to retrieve and manage the policies of your applications.
- name: Application Protected Resources
description: The Protected Resources API allows you to retrieve and manage protected resources of your applications.
- name: Application Session
description: The Sessions API allows you to retrieve and manage the session configurations of your applications.
- name: Applications
description: The Applications API allows you to list and manage Access Gateway applications and application-related configurations.
- name: Certificates
description: The Certificates API allows you to list and manage SSL certificates on your Access Gateway instance.
- name: IDPs
x-displayName: Identity Providers
description: The Identity Providers API allows you to list and manage identity providers (IdPs) on your Access Gateway instance.
- name: IDPs Offline Mode
x-displayName: Identity Providers Offline Mode
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
description: |-
<x-lifecycle-container><x-lifecycle class="ea"></x-lifecycle></x-lifecycle-container>The Identity Providers Offline Mode API allows you to manage the offline mode configuration for the identity providers (IdPs) on your Access Gateway instance.
Offline mode is a feature of Access Gateway that allows it to continue functioning with modified capabilities when the connection to the IdP is lost. This API allows you to manage the offline mode settings for each IdP, which determine how Access Gateway handles authentication requests when an IdP is unavailable.
> **Note:** This API is available in a Limited Early Access program and may be updated or changed based on feedback. Be aware that the API may change.
- name: IDPs Offline Mode Directory
x-displayName: Identity Providers Offline Mode Directory
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
description: |-
<x-lifecycle-container><x-lifecycle class="ea"></x-lifecycle></x-lifecycle-container>The Identity Providers Offline Mode Directory API allows you to manage the offline mode directory for the identity providers (IdPs) on your Access Gateway instance.
The offline mode directory is a component of Access Gateway's offline mode that serves as a backup authentication source when the connection to the IdP is lost. This API allows you to manage the offline mode directory settings for each IdP, which determine how Access Gateway connects to and uses the offline mode directory during failover.
> **Note:** This API is available in a Limited Early Access program and may be updated or changed based on feedback. Be aware that the API may change.
- name: IDPs Offline Mode Health Policy
x-displayName: Identity Providers Offline Mode Health Policy
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
description: |-
<x-lifecycle-container><x-lifecycle class="ea"></x-lifecycle></x-lifecycle-container>The Identity Providers Offline Mode Health Policy API allows you to manage the offline mode health policy for the identity providers (IdPs) on your Access Gateway instance.
The health policy is a component of Access Gateway's offline mode that determines the health status of an IdP and when to trigger failover to offline mode. This API allows you to manage the health policy settings for each IdP, which determine how Access Gateway monitors the health of the IdP and decides when to switch to offline mode.
> **Note:** This API is available in a Limited Early Access program and may be updated or changed based on feedback. Be aware that the API may change.
- name: Settings Authentication Service
x-displayName: Authentication Service
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
description: |-
<x-lifecycle-container><x-lifecycle class="ea"></x-lifecycle></x-lifecycle-container>The Authentication Service API allows you to manage the settings of the authentication service in your Access Gateway cluster. Authentication service settings at the cluster level apply to all applications and IdPs on the Access Gateway instance.
> **Note:** This API is available in a Limited Early Access program and may be updated or changed based on feedback. Be aware that the API may change.
paths:
/api/v2/apps:
x-okta-team-detail:
x-team-slack: amp-eng-resource-management-platform
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
get:
summary: List all applications
description: Lists all applications that are configured in Access Gateway
operationId: listApplication
parameters:
- $ref: '#/components/parameters/Expand'
responses:
'200':
description: Success
content:
application/json:
schema:
type: array
items:
oneOf: &ref_0
- $ref: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
- $ref: '#/components/schemas/SamlApplicationResponseWithEmbedded'
discriminator: &ref_1
propertyName: type
mapping:
OAG_HEADER_BASED: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
OAG_ADMINUI: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
OAG_NOAUTH: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
OAG_SAMPLE_COOKIE: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
OAG_SAMPLE_HEADER: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
OAG_SAMPLE_POLICY: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
OAG_SAMPLE_WIKIPEDIA: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
ORACLE_ACCESSGATE: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
ORACLE_AGILE_PLM: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
ORACLE_APPLICATION_EXPRESS: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
ORACLE_DEMANTRA: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
ORACLE_HCM_CLOUD: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
ORACLE_HYPERION: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
ORACLE_JDE: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
ORACLE_OBIEE: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
ORACLE_PEOPLESOFT: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
ORACLE_WEBCENTER: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
ORACLE_WEBLOGIC: '#/components/schemas/HeaderBasedApplicationResponseWithEmbedded'
OAG_SAML: '#/components/schemas/SamlApplicationResponseWithEmbedded'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.read
tags:
- Applications
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
post:
summary: Create an application
description: |-
Creates a new application in Access Gateway.
Newly created applications have the `CREATED` status.
To make the application available for end users, you must configure the required settings of an application, and then [activate the application](https://developer.okta.com/docs/api/openapi/oag/oag/tag/Applications/#tag/Applications/operation/activateApplication).
Ensure that you've configured the following settings of your application:
- [Create at least one protected resource](https://developer.okta.com/docs/api/openapi/oag/oag/tag/Application-Protected-Resources/#tag/Application-Protected-Resources/operation/createProtectedResource).
- [Create at least one policy](https://developer.okta.com/docs/api/openapi/oag/oag/tag/Application-Policies/#tag/Application-Policies/operation/createPolicy).
- [Create at least one attribute](https://developer.okta.com/docs/api/openapi/oag/oag/tag/Application-Attributes/#tag/Application-Attributes/operation/createAttribute) (not required for `OAG_NOAUTH` applications).
Session, behavior and health check configurations are created by default for all applications. Update these configurations as needed.
This endpoint also creates the default attributes and policies for the application based on the application type specified. To disable creating default attributes and policies, set the `useDefaultHeadersAndPolicies` property to `false` in the request body.
After creating an application, view the application details in the response. The `_embedded` property includes all the default configurations created for the application (session, behavior, health check, attributes, and policies).
operationId: createApplication
requestBody:
required: true
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/HeaderBasedApplicationCreateRequest'
- $ref: '#/components/schemas/SamlApplicationCreateRequest'
discriminator: &ref_2
propertyName: type
mapping:
OAG_HEADER_BASED: '#/components/schemas/HeaderBasedApplicationCreateRequest'
OAG_ADMINUI: '#/components/schemas/HeaderBasedApplicationCreateRequest'
OAG_NOAUTH: '#/components/schemas/HeaderBasedApplicationCreateRequest'
OAG_SAMPLE_COOKIE: '#/components/schemas/HeaderBasedApplicationCreateRequest'
OAG_SAMPLE_HEADER: '#/components/schemas/HeaderBasedApplicationCreateRequest'
OAG_SAMPLE_POLICY: '#/components/schemas/HeaderBasedApplicationCreateRequest'
OAG_SAMPLE_WIKIPEDIA: '#/components/schemas/HeaderBasedApplicationCreateRequest'
ORACLE_ACCESSGATE: '#/components/schemas/HeaderBasedApplicationCreateRequest'
ORACLE_AGILE_PLM: '#/components/schemas/HeaderBasedApplicationCreateRequest'
ORACLE_APPLICATION_EXPRESS: '#/components/schemas/HeaderBasedApplicationCreateRequest'
ORACLE_DEMANTRA: '#/components/schemas/HeaderBasedApplicationCreateRequest'
ORACLE_HCM_CLOUD: '#/components/schemas/HeaderBasedApplicationCreateRequest'
ORACLE_HYPERION: '#/components/schemas/HeaderBasedApplicationCreateRequest'
ORACLE_JDE: '#/components/schemas/HeaderBasedApplicationCreateRequest'
ORACLE_OBIEE: '#/components/schemas/HeaderBasedApplicationCreateRequest'
ORACLE_PEOPLESOFT: '#/components/schemas/HeaderBasedApplicationCreateRequest'
ORACLE_WEBCENTER: '#/components/schemas/HeaderBasedApplicationCreateRequest'
ORACLE_WEBLOGIC: '#/components/schemas/HeaderBasedApplicationCreateRequest'
OAG_SAML: '#/components/schemas/SamlApplicationCreateRequest'
responses:
'200':
description: Application created successfully
content:
application/json:
schema:
oneOf: *ref_0
discriminator: *ref_1
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.manage
tags:
- Applications
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
/api/v2/apps/{applicationId}:
x-okta-team-detail:
x-team-slack: amp-eng-resource-management-platform
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
parameters:
- $ref: '#/components/parameters/ApplicationID'
get:
summary: Retrieve an application
description: Retrieves details of a specific application by `applicationId`
operationId: getApplication
parameters:
- $ref: '#/components/parameters/Expand'
responses:
'200':
description: Success
content:
application/json:
schema:
oneOf: *ref_0
discriminator: *ref_1
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'404':
$ref: '#/components/responses/ErrorResourceNotFound'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.read
tags:
- Applications
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
put:
summary: Replace an application
description: |-
Replaces an existing application configuration
Use this endpoint to update the configuration of the specified application.
operationId: replaceApplication
requestBody:
required: true
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
- $ref: '#/components/schemas/SamlApplicationUpdateRequest'
discriminator: &ref_4
propertyName: type
mapping:
OAG_HEADER_BASED: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
OAG_ADMINUI: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
OAG_NOAUTH: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
OAG_SAMPLE_COOKIE: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
OAG_SAMPLE_HEADER: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
OAG_SAMPLE_POLICY: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
OAG_SAMPLE_WIKIPEDIA: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
ORACLE_ACCESSGATE: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
ORACLE_AGILE_PLM: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
ORACLE_APPLICATION_EXPRESS: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
ORACLE_DEMANTRA: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
ORACLE_HCM_CLOUD: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
ORACLE_HYPERION: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
ORACLE_JDE: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
ORACLE_OBIEE: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
ORACLE_PEOPLESOFT: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
ORACLE_WEBCENTER: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
ORACLE_WEBLOGIC: '#/components/schemas/HeaderBasedApplicationUpdateRequest'
OAG_SAML: '#/components/schemas/SamlApplicationUpdateRequest'
responses:
'200':
description: Application updated successfully
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/HeaderBasedApplicationRequest'
- $ref: '#/components/schemas/SamlApplicationRequest'
discriminator: &ref_3
propertyName: type
mapping:
OAG_HEADER_BASED: '#/components/schemas/HeaderBasedApplicationRequest'
OAG_ADMINUI: '#/components/schemas/HeaderBasedApplicationRequest'
OAG_NOAUTH: '#/components/schemas/HeaderBasedApplicationRequest'
OAG_SAMPLE_COOKIE: '#/components/schemas/HeaderBasedApplicationRequest'
OAG_SAMPLE_HEADER: '#/components/schemas/HeaderBasedApplicationRequest'
OAG_SAMPLE_POLICY: '#/components/schemas/HeaderBasedApplicationRequest'
OAG_SAMPLE_WIKIPEDIA: '#/components/schemas/HeaderBasedApplicationRequest'
ORACLE_ACCESSGATE: '#/components/schemas/HeaderBasedApplicationRequest'
ORACLE_AGILE_PLM: '#/components/schemas/HeaderBasedApplicationRequest'
ORACLE_APPLICATION_EXPRESS: '#/components/schemas/HeaderBasedApplicationRequest'
ORACLE_DEMANTRA: '#/components/schemas/HeaderBasedApplicationRequest'
ORACLE_HCM_CLOUD: '#/components/schemas/HeaderBasedApplicationRequest'
ORACLE_HYPERION: '#/components/schemas/HeaderBasedApplicationRequest'
ORACLE_JDE: '#/components/schemas/HeaderBasedApplicationRequest'
ORACLE_OBIEE: '#/components/schemas/HeaderBasedApplicationRequest'
ORACLE_PEOPLESOFT: '#/components/schemas/HeaderBasedApplicationRequest'
ORACLE_WEBCENTER: '#/components/schemas/HeaderBasedApplicationRequest'
ORACLE_WEBLOGIC: '#/components/schemas/HeaderBasedApplicationRequest'
OAG_SAML: '#/components/schemas/SamlApplicationRequest'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'404':
$ref: '#/components/responses/ErrorResourceNotFound'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.manage
tags:
- Applications
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
delete:
summary: Delete an application
description: |-
Deletes an application by `applicationId`.
To delete an application, you must set the status of the application to `INACTIVE`. Use the [Deactivate an application](https://developer.okta.com/docs/api/openapi/oag/oag/tag/Applications/#tag/Applications/operation/deactivateApplication) endpoint to set the application status to `INACTIVE`.
Deleting an application removes the application and its configurations, including its resources, policies, and attributes. These objects don't need to be deleted separately.
operationId: deleteApplication
responses:
'204':
description: Application deleted successfully
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'404':
$ref: '#/components/responses/ErrorResourceNotFound'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.manage
tags:
- Applications
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
/api/v2/apps/{applicationId}/activate:
x-okta-team-detail:
x-team-slack: amp-eng-resource-management-platform
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
parameters:
- $ref: '#/components/parameters/ApplicationID'
post:
summary: Activate an application
description: Activates a newly created application in Access Gateway. Activate an application after you create it. Access Gateway doesn't automatically activate newly created applications.
operationId: activateApplication
responses:
'200':
description: Success
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'404':
$ref: '#/components/responses/ErrorResourceNotFound'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.manage
tags:
- Applications
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
/api/v2/apps/{applicationId}/attributes:
x-okta-team-detail:
x-team-slack: amp-eng-resource-management-platform
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
parameters:
- $ref: '#/components/parameters/ApplicationID'
get:
summary: List all attributes
description: Lists all attributes for a specific application in Access Gateway
operationId: listAttributes
responses:
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Attribute'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.read
tags:
- Application Attributes
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
post:
summary: Create an attribute
description: Creates an attribute for an application in Access Gateway
operationId: createAttribute
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AttributeCreateRequest'
responses:
'200':
description: Attribute created successfully
content:
application/json:
schema:
$ref: '#/components/schemas/Attribute'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.manage
tags:
- Application Attributes
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
/api/v2/apps/{applicationId}/attributes/{attributeId}:
x-okta-team-detail:
x-team-slack: amp-eng-resource-management-platform
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
parameters:
- $ref: '#/components/parameters/ApplicationID'
- $ref: '#/components/parameters/AttributeID'
get:
summary: Retrieve an attribute
description: Retrieves details of a specific attribute for an application by `applicationId` and `attributeId`
operationId: getAttribute
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Attribute'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'404':
$ref: '#/components/responses/ErrorResourceNotFound'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.read
tags:
- Application Attributes
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
put:
summary: Replace an attribute
description: Replaces an existing attribute configuration for an application
operationId: replaceAttribute
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Attribute'
responses:
'200':
description: Attribute updated successfully
content:
application/json:
schema:
$ref: '#/components/schemas/Attribute'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'404':
$ref: '#/components/responses/ErrorResourceNotFound'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.manage
tags:
- Application Attributes
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
delete:
summary: Delete an attribute
description: Deletes an attribute for an application by `applicationId` and `attributeId`
operationId: deleteAttribute
responses:
'204':
description: Attribute deleted successfully
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'404':
$ref: '#/components/responses/ErrorResourceNotFound'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.manage
tags:
- Application Attributes
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
/api/v2/apps/{applicationId}/behavior:
x-okta-team-detail:
x-team-slack: amp-eng-resource-management-platform
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
parameters:
- $ref: '#/components/parameters/ApplicationID'
get:
summary: Retrieve the application behavior configuration
description: Retrieves a behavior configuration for an application
operationId: getBehavior
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Behavior'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'404':
$ref: '#/components/responses/ErrorResourceNotFound'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.read
tags:
- Application Behavior
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
put:
summary: Replace the application behavior configuration
description: |-
Replaces the behavior configuration for an application in Access Gateway
Use this endpoint to define behavior settings for your application. For example, you can configure how your application handles session management and security policies.
operationId: replaceBehavior
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/Behavior'
responses:
'200':
description: Behavior updated successfully
content:
application/json:
schema:
$ref: '#/components/schemas/Behavior'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'404':
$ref: '#/components/responses/ErrorResourceNotFound'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.manage
tags:
- Application Behavior
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
/api/v2/apps/{applicationId}/deactivate:
x-okta-team-detail:
x-team-slack: amp-eng-resource-management-platform
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
parameters:
- $ref: '#/components/parameters/ApplicationID'
post:
summary: Deactivate an application
description: Deactivates an existing application in Access Gateway
operationId: deactivateApplication
responses:
'200':
description: Success
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'404':
$ref: '#/components/responses/ErrorResourceNotFound'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.manage
tags:
- Applications
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
/api/v2/apps/{applicationId}/health-check:
x-okta-team-detail:
x-team-slack: amp-eng-resource-management-platform
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
parameters:
- $ref: '#/components/parameters/ApplicationID'
get:
summary: Retrieve the application health check configuration
description: Retrieves a health check configuration for an application
operationId: getHealthCheck
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/HealthCheck'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'404':
$ref: '#/components/responses/ErrorResourceNotFound'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.read
tags:
- Application Health Check
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
put:
summary: Replace the application health check configuration
description: |-
Replaces the health check configuration for an application in Access Gateway
Use this endpoint to define health check settings to monitor application availability.
operationId: replaceHealthCheck
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/HealthCheck'
responses:
'200':
description: Health check configuration updated successfully
content:
application/json:
schema:
$ref: '#/components/schemas/HealthCheck'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'404':
$ref: '#/components/responses/ErrorResourceNotFound'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.manage
tags:
- Application Health Check
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
/api/v2/apps/{applicationId}/maintenance:
x-okta-team-detail:
x-team-slack: amp-eng-resource-management-platform
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
parameters:
- $ref: '#/components/parameters/ApplicationID'
post:
summary: Update an application status to maintenance
description: |-
Updates the status of an application to maintenance mode in Access Gateway
When an application is in maintenance mode, you can perform maintenance tasks on the application. However, the application is unavailable for end users.
operationId: updateApplicationMaintenance
responses:
'200':
description: Success
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'404':
$ref: '#/components/responses/ErrorResourceNotFound'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.manage
tags:
- Applications
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
/api/v2/apps/{applicationId}/offline-mode:
x-okta-team-detail:
x-team-slack: amp-eng-resource-management-platform
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
parameters:
- $ref: '#/components/parameters/ApplicationID'
get:
summary: Retrieve the offline mode state for an application
description: Retrieves the offline mode state for a specific application in Access Gateway, by `applicationId`
operationId: getApplicationOfflineModeState
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ApplicationOfflineModeState'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
'500':
$ref: '#/components/responses/ErrorInternalServerError'
'503':
$ref: '#/components/responses/ErrorServiceUnavailable'
security:
- jwtBearerAuth:
- okta.oag.app.read
tags:
- Application Offline Mode
post:
summary: Assign the offline mode state for an application
description: |-
Assigns the offline mode state for a specific application in Access Gateway, by `applicationId`.
Use this endpoint to enable or disable the ability for applications to function in offline mode. When offline mode is enabled, and the Okta IdP is unreachable, the application can failover to offline mode and function with modified capabilities.
operationId: assignApplicationOfflineModeState
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ApplicationOfflineModeState'
responses:
'200':
description: Application offline mode state updated successfully
content:
application/json:
schema:
$ref: '#/components/schemas/ApplicationOfflineModeState'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
'500':
$ref: '#/components/responses/ErrorInternalServerError'
'502':
$ref: '#/components/responses/ErrorBadGateway'
'503':
$ref: '#/components/responses/ErrorServiceUnavailable'
security:
- jwtBearerAuth:
- okta.oag.app.manage
tags:
- Application Offline Mode
/api/v2/apps/{applicationId}/offline-mode/group-policy:
x-okta-team-detail:
x-team-slack: amp-eng-resource-management-platform
x-okta-lifecycle:
lifecycle: EA
isGenerallyAvailable: false
SKUs: []
parameters:
- $ref: '#/components/parameters/ApplicationID'
get:
summary: Retrieve the offline mode group policy for an application
description: |-
Retrieves the offline mode group policy for a specific application in Access Gateway, by `applicationId`.
The offline mode group policy defines how users are grouped for offline mode. It determines which users are affected when offline mode is enabled for the application.
operationId: getApplicationOfflineModeGroupPolicy
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/ApplicationOfflineModeGroupPolicy'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
'500':
$ref: '#/components/responses/ErrorInternalServerError'
'503':
$ref: '#/components/responses/ErrorServiceUnavailable'
security:
- jwtBearerAuth:
- okta.oag.app.read
tags:
- Application Offline Mode
put:
summary: Assign a group to an application's offline mode policy
description: |-
Assigns groups to the offline mode policy for a specific application in Access Gateway, by `applicationId`. Users who are in the groups that are assigned to the offline mode application policy can sign in to the application when offline mode is enabled. Users who aren't in the assigned groups are blocked from signing in when offline mode is enabled.
Before you assign groups to the application, ensure that the groups exist in your LDAP or AD directory. If your groups originate in Okta, sync them to your LDAP or AD server using the [Okta LDAP agent](https://help.okta.com/okta_help.htm?type=oie&id=ext_LDAP_Provisioning) or the [Okta AD agent](https://help.okta.com/okta_help.htm?type=oie&id=ext-ad-agent-install). After syncing the groups, [create the offline mode directory](https://developer.okta.com/docs/api/openapi/oag/oag/tag/IDPs-Offline-Mode-Directory/#tag/IDPs-Offline-Mode-Directory/operation/createOfflineModeDirectory). After you configure the offline mode directory, your groups are available to assign to the offline mode policy.
> **Note:** If you're using an LDAP user directory, you don't have the `Everyone` group, by default. However, the `Assign a group to an application's offline mode policy` endpoint allows you to still pass `Everyone` in the payload to assign all users to the offline mode policy.
operationId: assignApplicationOfflineModeGroupPolicy
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ApplicationOfflineModeGroupPolicy'
responses:
'200':
description: Application Offline mode group policy updated successfully
content:
application/json:
schema:
$ref: '#/components/schemas/ApplicationOfflineModeGroupPolicy'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
'500':
$ref: '#/components/responses/ErrorInternalServerError'
'502':
$ref: '#/components/responses/ErrorBadGateway'
'503':
$ref: '#/components/responses/ErrorServiceUnavailable'
security:
- jwtBearerAuth:
- okta.oag.app.manage
tags:
- Application Offline Mode
/api/v2/apps/{applicationId}/policies:
x-okta-team-detail:
x-team-slack: amp-eng-resource-management-platform
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
parameters:
- $ref: '#/components/parameters/ApplicationID'
get:
summary: List all policies
description: Lists all policies for a specific application in Access Gateway
operationId: listPolicies
responses:
'200':
description: Success
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Policy'
'400':
$ref: '#/components/responses/ErrorBadRequest'
'401':
$ref: '#/components/responses/ErrorUnauthorized'
'403':
$ref: '#/components/responses/ErrorForbidden'
'429':
$ref: '#/components/responses/ErrorTooManyRequests'
security:
- jwtBearerAuth:
- okta.oag.app.read
tags:
- Application Policies
x-okta-lifecycle:
lifecycle: GA
isGenerallyAvailable: true
post:
summary: Create a policy
description: |-
Creates a policy for an application in Access Gateway