@workos/openapi-spec 0.155.0 → 0.156.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11873,8 +11873,8 @@ paths:
11873
11873
  put:
11874
11874
  description: >-
11875
11875
  Updates an organization's [connected
11876
- account](/reference/pipes/connected-account) tokens, scopes, or state
11877
- for a specific provider.
11876
+ account](/reference/pipes/connected-account) tokens, scopes, state, or
11877
+ provider configuration for a specific provider.
11878
11878
  operationId: >-
11879
11879
  DataIntegrationsOrganizationController_updateOrganizationDataInstallation
11880
11880
  parameters:
@@ -15424,7 +15424,7 @@ paths:
15424
15424
  summary: Create an organization membership
15425
15425
  tags:
15426
15426
  - user-management.organization-membership
15427
- x-mutually-exclusive-body-groups: &ref_18
15427
+ x-mutually-exclusive-body-groups: &ref_21
15428
15428
  role:
15429
15429
  optional: true
15430
15430
  variants:
@@ -15535,7 +15535,7 @@ paths:
15535
15535
  summary: Update an organization membership
15536
15536
  tags:
15537
15537
  - user-management.organization-membership
15538
- x-mutually-exclusive-body-groups: &ref_19
15538
+ x-mutually-exclusive-body-groups: &ref_22
15539
15539
  role:
15540
15540
  optional: true
15541
15541
  variants:
@@ -16426,7 +16426,7 @@ paths:
16426
16426
  summary: Create a user
16427
16427
  tags:
16428
16428
  - user-management.users
16429
- x-mutually-exclusive-body-groups: &ref_20
16429
+ x-mutually-exclusive-body-groups: &ref_23
16430
16430
  password:
16431
16431
  optional: true
16432
16432
  variants:
@@ -16533,7 +16533,7 @@ paths:
16533
16533
  summary: Update a user
16534
16534
  tags:
16535
16535
  - user-management.users
16536
- x-mutually-exclusive-body-groups: &ref_24
16536
+ x-mutually-exclusive-body-groups: &ref_27
16537
16537
  password:
16538
16538
  optional: true
16539
16539
  variants:
@@ -17819,7 +17819,8 @@ paths:
17819
17819
  put:
17820
17820
  description: >-
17821
17821
  Updates a user's [connected account](/reference/pipes/connected-account)
17822
- tokens, scopes, or state for a specific provider.
17822
+ tokens, scopes, state, or provider configuration for a specific
17823
+ provider.
17823
17824
  operationId: DataIntegrationsUserManagementController_updateUserDataInstallation
17824
17825
  parameters:
17825
17826
  - name: user_id
@@ -21800,6 +21801,30 @@ components:
21800
21801
  - 'null'
21801
21802
  description: A developer-attested account identifier; null clears it.
21802
21803
  example: workspace_123
21804
+ config:
21805
+ type: object
21806
+ description: >-
21807
+ Installation-scoped provider configuration for this connection, such
21808
+ as Salesforce salesforce_host. Imports apply supplied values over
21809
+ installation-scoped integration pins and inherit other config from
21810
+ the credential source. Credential-bearing imports must satisfy
21811
+ required configuration even when config is omitted or {}. On update,
21812
+ a supplied object replaces installation-scoped values; omitted
21813
+ config preserves the stored snapshot. Stored integration-scoped
21814
+ values remain bound to the OAuth client and cannot be overridden or
21815
+ replaced with current integration pins. Replacements must satisfy
21816
+ required configuration; {} and empty-string values clear
21817
+ installation-scoped values only when the result is valid. Provider
21818
+ defaults count toward completeness but are resolved at read time,
21819
+ not stored. Only tokenless needs_reauthorization placeholders may
21820
+ remain incomplete; attaching their first tokens validates
21821
+ configuration even when config is omitted. Unrelated updates do not
21822
+ revalidate unchanged configuration. Clearing salesforce_host falls
21823
+ back to login.salesforce.com, which may not work for sandbox or My
21824
+ Domain-only connections.
21825
+ additionalProperties: &ref_16
21826
+ type: string
21827
+ example: &ref_17 {}
21803
21828
  access_token:
21804
21829
  type: string
21805
21830
  description: The OAuth access token for the connected account.
@@ -21817,7 +21842,7 @@ components:
21817
21842
  format: date-time
21818
21843
  scopes:
21819
21844
  description: The OAuth scopes granted for this connection.
21820
- example: &ref_16
21845
+ example: &ref_18
21821
21846
  - repo
21822
21847
  - user:email
21823
21848
  type: array
@@ -21825,7 +21850,7 @@ components:
21825
21850
  type: string
21826
21851
  state:
21827
21852
  type: string
21828
- enum: &ref_17
21853
+ enum: &ref_19
21829
21854
  - connected
21830
21855
  - needs_reauthorization
21831
21856
  description: >-
@@ -21839,6 +21864,16 @@ components:
21839
21864
  member on whose behalf the connected account is being imported or
21840
21865
  updated. The user must be an active member of the organization.
21841
21866
  example: user_01EHZNVPK3SFK441A1RGBFSHRT
21867
+ metadata:
21868
+ type: object
21869
+ description: >-
21870
+ Provider token-response metadata to preserve during import, such as
21871
+ Salesforce instance_url. Only allowlisted, non-sensitive scalar
21872
+ fields from this provider are accepted, including nested fields.
21873
+ Provider refresh responses can update these values. Not accepted on
21874
+ update.
21875
+ additionalProperties: true
21876
+ example: &ref_20 {}
21842
21877
  connection_intent:
21843
21878
  type: string
21844
21879
  description: >-
@@ -21866,6 +21901,29 @@ components:
21866
21901
  - 'null'
21867
21902
  description: A developer-attested account identifier; null clears it.
21868
21903
  example: workspace_123
21904
+ config:
21905
+ type: object
21906
+ description: >-
21907
+ Installation-scoped provider configuration for this connection, such
21908
+ as Salesforce salesforce_host. Imports apply supplied values over
21909
+ installation-scoped integration pins and inherit other config from
21910
+ the credential source. Credential-bearing imports must satisfy
21911
+ required configuration even when config is omitted or {}. On update,
21912
+ a supplied object replaces installation-scoped values; omitted
21913
+ config preserves the stored snapshot. Stored integration-scoped
21914
+ values remain bound to the OAuth client and cannot be overridden or
21915
+ replaced with current integration pins. Replacements must satisfy
21916
+ required configuration; {} and empty-string values clear
21917
+ installation-scoped values only when the result is valid. Provider
21918
+ defaults count toward completeness but are resolved at read time,
21919
+ not stored. Only tokenless needs_reauthorization placeholders may
21920
+ remain incomplete; attaching their first tokens validates
21921
+ configuration even when config is omitted. Unrelated updates do not
21922
+ revalidate unchanged configuration. Clearing salesforce_host falls
21923
+ back to login.salesforce.com, which may not work for sandbox or My
21924
+ Domain-only connections.
21925
+ additionalProperties: *ref_16
21926
+ example: *ref_17
21869
21927
  access_token:
21870
21928
  type: string
21871
21929
  description: The OAuth access token for the connected account.
@@ -21883,13 +21941,13 @@ components:
21883
21941
  format: date-time
21884
21942
  scopes:
21885
21943
  description: The OAuth scopes granted for this connection.
21886
- example: *ref_16
21944
+ example: *ref_18
21887
21945
  type: array
21888
21946
  items:
21889
21947
  type: string
21890
21948
  state:
21891
21949
  type: string
21892
- enum: *ref_17
21950
+ enum: *ref_19
21893
21951
  description: >-
21894
21952
  Explicitly set the state of the connected account. When omitted, the
21895
21953
  state is derived from the token combination provided.
@@ -21921,6 +21979,29 @@ components:
21921
21979
  - 'null'
21922
21980
  description: A developer-attested account identifier; null clears it.
21923
21981
  example: workspace_123
21982
+ config:
21983
+ type: object
21984
+ description: >-
21985
+ Installation-scoped provider configuration for this connection, such
21986
+ as Salesforce salesforce_host. Imports apply supplied values over
21987
+ installation-scoped integration pins and inherit other config from
21988
+ the credential source. Credential-bearing imports must satisfy
21989
+ required configuration even when config is omitted or {}. On update,
21990
+ a supplied object replaces installation-scoped values; omitted
21991
+ config preserves the stored snapshot. Stored integration-scoped
21992
+ values remain bound to the OAuth client and cannot be overridden or
21993
+ replaced with current integration pins. Replacements must satisfy
21994
+ required configuration; {} and empty-string values clear
21995
+ installation-scoped values only when the result is valid. Provider
21996
+ defaults count toward completeness but are resolved at read time,
21997
+ not stored. Only tokenless needs_reauthorization placeholders may
21998
+ remain incomplete; attaching their first tokens validates
21999
+ configuration even when config is omitted. Unrelated updates do not
22000
+ revalidate unchanged configuration. Clearing salesforce_host falls
22001
+ back to login.salesforce.com, which may not work for sandbox or My
22002
+ Domain-only connections.
22003
+ additionalProperties: *ref_16
22004
+ example: *ref_17
21924
22005
  access_token:
21925
22006
  type: string
21926
22007
  description: The OAuth access token for the connected account.
@@ -21938,17 +22019,27 @@ components:
21938
22019
  format: date-time
21939
22020
  scopes:
21940
22021
  description: The OAuth scopes granted for this connection.
21941
- example: *ref_16
22022
+ example: *ref_18
21942
22023
  type: array
21943
22024
  items:
21944
22025
  type: string
21945
22026
  state:
21946
22027
  type: string
21947
- enum: *ref_17
22028
+ enum: *ref_19
21948
22029
  description: >-
21949
22030
  Explicitly set the state of the connected account. When omitted, the
21950
22031
  state is derived from the token combination provided.
21951
22032
  example: connected
22033
+ metadata:
22034
+ type: object
22035
+ description: >-
22036
+ Provider token-response metadata to preserve during import, such as
22037
+ Salesforce instance_url. Only allowlisted, non-sensitive scalar
22038
+ fields from this provider are accepted, including nested fields.
22039
+ Provider refresh responses can update these values. Not accepted on
22040
+ update.
22041
+ additionalProperties: true
22042
+ example: *ref_20
21952
22043
  connection_intent:
21953
22044
  type: string
21954
22045
  description: >-
@@ -21974,6 +22065,29 @@ components:
21974
22065
  - 'null'
21975
22066
  description: A developer-attested account identifier; null clears it.
21976
22067
  example: workspace_123
22068
+ config:
22069
+ type: object
22070
+ description: >-
22071
+ Installation-scoped provider configuration for this connection, such
22072
+ as Salesforce salesforce_host. Imports apply supplied values over
22073
+ installation-scoped integration pins and inherit other config from
22074
+ the credential source. Credential-bearing imports must satisfy
22075
+ required configuration even when config is omitted or {}. On update,
22076
+ a supplied object replaces installation-scoped values; omitted
22077
+ config preserves the stored snapshot. Stored integration-scoped
22078
+ values remain bound to the OAuth client and cannot be overridden or
22079
+ replaced with current integration pins. Replacements must satisfy
22080
+ required configuration; {} and empty-string values clear
22081
+ installation-scoped values only when the result is valid. Provider
22082
+ defaults count toward completeness but are resolved at read time,
22083
+ not stored. Only tokenless needs_reauthorization placeholders may
22084
+ remain incomplete; attaching their first tokens validates
22085
+ configuration even when config is omitted. Unrelated updates do not
22086
+ revalidate unchanged configuration. Clearing salesforce_host falls
22087
+ back to login.salesforce.com, which may not work for sandbox or My
22088
+ Domain-only connections.
22089
+ additionalProperties: *ref_16
22090
+ example: *ref_17
21977
22091
  access_token:
21978
22092
  type: string
21979
22093
  description: The OAuth access token for the connected account.
@@ -21991,13 +22105,13 @@ components:
21991
22105
  format: date-time
21992
22106
  scopes:
21993
22107
  description: The OAuth scopes granted for this connection.
21994
- example: *ref_16
22108
+ example: *ref_18
21995
22109
  type: array
21996
22110
  items:
21997
22111
  type: string
21998
22112
  state:
21999
22113
  type: string
22000
- enum: *ref_17
22114
+ enum: *ref_19
22001
22115
  description: >-
22002
22116
  Explicitly set the state of the connected account. When omitted, the
22003
22117
  state is derived from the token combination provided.
@@ -22638,9 +22752,9 @@ components:
22638
22752
  x-exclude-from-lint: true
22639
22753
  required:
22640
22754
  - role_slug
22641
- x-mutually-exclusive-body-groups: *ref_18
22755
+ x-mutually-exclusive-body-groups: *ref_21
22642
22756
  UpdateUserlandUserOrganizationMembershipDto:
22643
- x-mutually-exclusive-body-groups: *ref_19
22757
+ x-mutually-exclusive-body-groups: *ref_22
22644
22758
  oneOf:
22645
22759
  - type: object
22646
22760
  not:
@@ -22766,7 +22880,7 @@ components:
22766
22880
  - 'null'
22767
22881
  additionalProperties: *ref_13
22768
22882
  maxProperties: 50
22769
- example: &ref_21
22883
+ example: &ref_24
22770
22884
  timezone: America/New_York
22771
22885
  description: >-
22772
22886
  Object containing metadata key/value pairs associated with the
@@ -22867,7 +22981,7 @@ components:
22867
22981
  example: $2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy
22868
22982
  password_hash_type:
22869
22983
  type: string
22870
- enum: &ref_22
22984
+ enum: &ref_25
22871
22985
  - bcrypt
22872
22986
  - firebase-scrypt
22873
22987
  - ssha
@@ -22882,7 +22996,7 @@ components:
22882
22996
  example: bcrypt
22883
22997
  password_salt_position:
22884
22998
  type: string
22885
- enum: &ref_23
22999
+ enum: &ref_26
22886
23000
  - prefix
22887
23001
  - suffix
22888
23002
  description: >-
@@ -22903,7 +23017,7 @@ components:
22903
23017
  x-exclude-from-lint: true
22904
23018
  required:
22905
23019
  - password
22906
- x-mutually-exclusive-body-groups: *ref_20
23020
+ x-mutually-exclusive-body-groups: *ref_23
22907
23021
  UpdateUserlandUserDto:
22908
23022
  allOf:
22909
23023
  - type: object
@@ -22935,7 +23049,7 @@ components:
22935
23049
  - 'null'
22936
23050
  additionalProperties: *ref_13
22937
23051
  maxProperties: 50
22938
- example: *ref_21
23052
+ example: *ref_24
22939
23053
  description: >-
22940
23054
  Object containing metadata key/value pairs associated with the
22941
23055
  user.
@@ -23017,7 +23131,7 @@ components:
23017
23131
  example: $2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy
23018
23132
  password_hash_type:
23019
23133
  type: string
23020
- enum: *ref_22
23134
+ enum: *ref_25
23021
23135
  description: >-
23022
23136
  The algorithm originally used to hash the password, used
23023
23137
  when providing a `password_hash`. Required with
@@ -23025,7 +23139,7 @@ components:
23025
23139
  example: bcrypt
23026
23140
  password_salt_position:
23027
23141
  type: string
23028
- enum: *ref_23
23142
+ enum: *ref_26
23029
23143
  description: >-
23030
23144
  The position of the salt relative to the password when the
23031
23145
  `password_hash` digest was computed: `prefix` for `hash(salt
@@ -23044,7 +23158,7 @@ components:
23044
23158
  x-exclude-from-lint: true
23045
23159
  required:
23046
23160
  - password
23047
- x-mutually-exclusive-body-groups: *ref_24
23161
+ x-mutually-exclusive-body-groups: *ref_27
23048
23162
  SendVerificationEmailDto:
23049
23163
  type: object
23050
23164
  properties:
@@ -23450,7 +23564,7 @@ components:
23450
23564
  description: The events that the Webhook Endpoint is subscribed to.
23451
23565
  items:
23452
23566
  type: string
23453
- enum: &ref_25
23567
+ enum: &ref_28
23454
23568
  - agent.blueprint.created
23455
23569
  - agent.blueprint.deleted
23456
23570
  - agent.blueprint.updated
@@ -23589,7 +23703,7 @@ components:
23589
23703
  description: The events that the Webhook Endpoint is subscribed to.
23590
23704
  items:
23591
23705
  type: string
23592
- enum: *ref_25
23706
+ enum: *ref_28
23593
23707
  example:
23594
23708
  - user.created
23595
23709
  - dsync.user.created
@@ -23882,11 +23996,11 @@ components:
23882
23996
  type: string
23883
23997
  description: The error code identifying the type of error.
23884
23998
  example: action_denied
23885
- message: &ref_26
23999
+ message: &ref_29
23886
24000
  type: string
23887
24001
  description: A human-readable description of the error.
23888
24002
  example: Request could not be processed.
23889
- required: &ref_27
24003
+ required: &ref_30
23890
24004
  - code
23891
24005
  - message
23892
24006
  ErrorBodyWithError:
@@ -23910,7 +24024,7 @@ components:
23910
24024
  type: string
23911
24025
  description: A human-readable description of the error.
23912
24026
  example: Request could not be processed.
23913
- required: &ref_33
24027
+ required: &ref_36
23914
24028
  - message
23915
24029
  OrganizationSelectionRequiredErrorBodyWithOrganizations:
23916
24030
  type: object
@@ -24185,7 +24299,7 @@ components:
24185
24299
  - message
24186
24300
  AuthMethodMismatchErrorBody:
24187
24301
  type: object
24188
- properties: &ref_47
24302
+ properties: &ref_50
24189
24303
  code:
24190
24304
  type: string
24191
24305
  const: auth_method_mismatch
@@ -24199,13 +24313,13 @@ components:
24199
24313
  example: >-
24200
24314
  This installation uses oauth authentication. Use the POST
24201
24315
  /:slug/token endpoint instead.
24202
- required: &ref_48
24316
+ required: &ref_51
24203
24317
  - code
24204
24318
  - message
24205
24319
  x-component-name: AuthMethodMismatchError
24206
24320
  AccountSelectionRequiredErrorBody:
24207
24321
  type: object
24208
- properties: &ref_49
24322
+ properties: &ref_52
24209
24323
  code:
24210
24324
  type: string
24211
24325
  const: account_selection_required
@@ -24219,7 +24333,7 @@ components:
24219
24333
  example: >-
24220
24334
  Several connected accounts match this user for this provider. Name
24221
24335
  one with a connected account id.
24222
- required: &ref_50
24336
+ required: &ref_53
24223
24337
  - code
24224
24338
  - message
24225
24339
  x-component-name: AccountSelectionRequiredError
@@ -24262,16 +24376,16 @@ components:
24262
24376
  properties:
24263
24377
  code:
24264
24378
  $ref: '#/components/schemas/ErrorBodyCode'
24265
- message: &ref_28
24379
+ message: &ref_31
24266
24380
  type: string
24267
24381
  description: A human-readable description of the error.
24268
24382
  example: Validation failed.
24269
- errors: &ref_29
24383
+ errors: &ref_32
24270
24384
  type: array
24271
24385
  items:
24272
24386
  $ref: '#/components/schemas/ErrorBodyWithCode'
24273
24387
  description: The list of validation errors.
24274
- required: &ref_30
24388
+ required: &ref_33
24275
24389
  - code
24276
24390
  - message
24277
24391
  - errors
@@ -24319,11 +24433,11 @@ components:
24319
24433
  type: string
24320
24434
  description: The OAuth error code.
24321
24435
  example: access_denied
24322
- error_description: &ref_31
24436
+ error_description: &ref_34
24323
24437
  type: string
24324
24438
  description: A human-readable description of the error.
24325
24439
  example: 'The request failed due to: invitation_invalid.'
24326
- required: &ref_32
24440
+ required: &ref_35
24327
24441
  - error
24328
24442
  - error_description
24329
24443
  SubResourceScopedRoleNotAllowedErrorBodyWithRoleSlug:
@@ -24384,8 +24498,8 @@ components:
24384
24498
  description: The error code identifying the type of error.
24385
24499
  example: external_auth_session_already_completed
24386
24500
  const: external_auth_session_already_completed
24387
- message: *ref_26
24388
- required: *ref_27
24501
+ message: *ref_29
24502
+ required: *ref_30
24389
24503
  UserConsentOptionsNotSupportedErrorBody:
24390
24504
  type: object
24391
24505
  properties:
@@ -24394,8 +24508,8 @@ components:
24394
24508
  description: The error code identifying the type of error.
24395
24509
  example: user_consent_options_not_supported
24396
24510
  const: user_consent_options_not_supported
24397
- message: *ref_26
24398
- required: *ref_27
24511
+ message: *ref_29
24512
+ required: *ref_30
24399
24513
  EmailChangeNotAllowedErrorBody:
24400
24514
  type: object
24401
24515
  properties:
@@ -24404,8 +24518,8 @@ components:
24404
24518
  description: The error code identifying the type of error.
24405
24519
  example: email_change_not_allowed
24406
24520
  const: email_change_not_allowed
24407
- message: *ref_26
24408
- required: *ref_27
24521
+ message: *ref_29
24522
+ required: *ref_30
24409
24523
  EmailNotAvailableErrorBody:
24410
24524
  type: object
24411
24525
  properties:
@@ -24414,8 +24528,8 @@ components:
24414
24528
  description: The error code identifying the type of error.
24415
24529
  example: email_not_available
24416
24530
  const: email_not_available
24417
- message: *ref_26
24418
- required: *ref_27
24531
+ message: *ref_29
24532
+ required: *ref_30
24419
24533
  InvalidEmailErrorBody:
24420
24534
  type: object
24421
24535
  properties:
@@ -24424,8 +24538,8 @@ components:
24424
24538
  description: The error code identifying the type of error.
24425
24539
  example: invalid_email
24426
24540
  const: invalid_email
24427
- message: *ref_26
24428
- required: *ref_27
24541
+ message: *ref_29
24542
+ required: *ref_30
24429
24543
  EmailAlreadyInUseErrorBody:
24430
24544
  type: object
24431
24545
  properties:
@@ -24434,8 +24548,8 @@ components:
24434
24548
  description: The error code identifying the type of error.
24435
24549
  example: email_already_in_use
24436
24550
  const: email_already_in_use
24437
- message: *ref_26
24438
- required: *ref_27
24551
+ message: *ref_29
24552
+ required: *ref_30
24439
24553
  AlreadyClaimedErrorBody:
24440
24554
  type: object
24441
24555
  properties:
@@ -24444,8 +24558,8 @@ components:
24444
24558
  description: The error code identifying the type of error.
24445
24559
  example: already_claimed
24446
24560
  const: already_claimed
24447
- message: *ref_26
24448
- required: *ref_27
24561
+ message: *ref_29
24562
+ required: *ref_30
24449
24563
  SmsChallengeRateLimitedErrorBody:
24450
24564
  type: object
24451
24565
  properties:
@@ -24454,8 +24568,8 @@ components:
24454
24568
  description: The error code identifying the type of error.
24455
24569
  example: sms_challenge_rate_limited
24456
24570
  const: sms_challenge_rate_limited
24457
- message: *ref_26
24458
- required: *ref_27
24571
+ message: *ref_29
24572
+ required: *ref_30
24459
24573
  SmsChallengeQuotaReachedErrorBody:
24460
24574
  type: object
24461
24575
  properties:
@@ -24464,8 +24578,8 @@ components:
24464
24578
  description: The error code identifying the type of error.
24465
24579
  example: sms_challenge_quota_reached
24466
24580
  const: sms_challenge_quota_reached
24467
- message: *ref_26
24468
- required: *ref_27
24581
+ message: *ref_29
24582
+ required: *ref_30
24469
24583
  IdpMetadataFetchFailedErrorBody:
24470
24584
  type: object
24471
24585
  properties:
@@ -24474,8 +24588,8 @@ components:
24474
24588
  description: The error code identifying the type of error.
24475
24589
  example: idp_metadata_fetch_failed
24476
24590
  const: idp_metadata_fetch_failed
24477
- message: *ref_26
24478
- required: *ref_27
24591
+ message: *ref_29
24592
+ required: *ref_30
24479
24593
  ConnectionCouldNotBeVerifiedErrorBody:
24480
24594
  type: object
24481
24595
  properties:
@@ -24484,8 +24598,8 @@ components:
24484
24598
  description: The error code identifying the type of error.
24485
24599
  example: connection_could_not_be_verified
24486
24600
  const: connection_could_not_be_verified
24487
- message: *ref_26
24488
- required: *ref_27
24601
+ message: *ref_29
24602
+ required: *ref_30
24489
24603
  InvalidIdpSsoUrlErrorBody:
24490
24604
  type: object
24491
24605
  properties:
@@ -24494,8 +24608,8 @@ components:
24494
24608
  description: The error code identifying the type of error.
24495
24609
  example: invalid_idp_sso_url
24496
24610
  const: invalid_idp_sso_url
24497
- message: *ref_26
24498
- required: *ref_27
24611
+ message: *ref_29
24612
+ required: *ref_30
24499
24613
  ConnectionTypeNotUpdatableErrorBody:
24500
24614
  type: object
24501
24615
  properties:
@@ -24504,8 +24618,8 @@ components:
24504
24618
  description: The error code identifying the type of error.
24505
24619
  example: connection_type_not_updatable
24506
24620
  const: connection_type_not_updatable
24507
- message: *ref_26
24508
- required: *ref_27
24621
+ message: *ref_29
24622
+ required: *ref_30
24509
24623
  ConnectedAccountLimitReachedErrorBody:
24510
24624
  type: object
24511
24625
  properties:
@@ -24514,8 +24628,8 @@ components:
24514
24628
  description: The error code identifying the type of error.
24515
24629
  example: connected_account_limit_reached
24516
24630
  const: connected_account_limit_reached
24517
- message: *ref_26
24518
- required: *ref_27
24631
+ message: *ref_29
24632
+ required: *ref_30
24519
24633
  EntityNotFoundErrorBody:
24520
24634
  type: object
24521
24635
  properties:
@@ -24524,8 +24638,8 @@ components:
24524
24638
  description: The error code identifying the type of error.
24525
24639
  example: entity_not_found
24526
24640
  const: entity_not_found
24527
- message: *ref_26
24528
- required: *ref_27
24641
+ message: *ref_29
24642
+ required: *ref_30
24529
24643
  InvalidRequestParametersErrorBodyWithErrors:
24530
24644
  type: object
24531
24645
  properties:
@@ -24534,9 +24648,9 @@ components:
24534
24648
  description: The error code identifying the type of error.
24535
24649
  example: invalid_request_parameters
24536
24650
  const: invalid_request_parameters
24537
- message: *ref_28
24538
- errors: *ref_29
24539
- required: *ref_30
24651
+ message: *ref_31
24652
+ errors: *ref_32
24653
+ required: *ref_33
24540
24654
  InvalidRefreshTokenErrorBody:
24541
24655
  type: object
24542
24656
  properties:
@@ -24545,8 +24659,8 @@ components:
24545
24659
  description: The error code identifying the type of error.
24546
24660
  example: invalid_refresh_token
24547
24661
  const: invalid_refresh_token
24548
- message: *ref_26
24549
- required: *ref_27
24662
+ message: *ref_29
24663
+ required: *ref_30
24550
24664
  InvitationInvalidOAuthErrorBody:
24551
24665
  type: object
24552
24666
  properties:
@@ -24555,8 +24669,8 @@ components:
24555
24669
  description: The OAuth error code.
24556
24670
  example: invitation_invalid
24557
24671
  const: invitation_invalid
24558
- error_description: *ref_31
24559
- required: *ref_32
24672
+ error_description: *ref_34
24673
+ required: *ref_35
24560
24674
  AuthenticationMethodNotAllowedOAuthErrorBody:
24561
24675
  type: object
24562
24676
  properties:
@@ -24565,8 +24679,8 @@ components:
24565
24679
  description: The OAuth error code.
24566
24680
  example: authentication_method_not_allowed
24567
24681
  const: authentication_method_not_allowed
24568
- error_description: *ref_31
24569
- required: *ref_32
24682
+ error_description: *ref_34
24683
+ required: *ref_35
24570
24684
  SignUpNotAllowedOAuthErrorBody:
24571
24685
  type: object
24572
24686
  properties:
@@ -24575,8 +24689,8 @@ components:
24575
24689
  description: The OAuth error code.
24576
24690
  example: sign_up_not_allowed
24577
24691
  const: sign_up_not_allowed
24578
- error_description: *ref_31
24579
- required: *ref_32
24692
+ error_description: *ref_34
24693
+ required: *ref_35
24580
24694
  EmailDomainNotDeliverableErrorBody:
24581
24695
  type: object
24582
24696
  properties:
@@ -24585,8 +24699,8 @@ components:
24585
24699
  description: The error code identifying the type of error.
24586
24700
  example: email_domain_not_deliverable
24587
24701
  const: email_domain_not_deliverable
24588
- message: *ref_26
24589
- required: *ref_27
24702
+ message: *ref_29
24703
+ required: *ref_30
24590
24704
  InvalidRequestParametersErrorBody:
24591
24705
  type: object
24592
24706
  properties:
@@ -24595,8 +24709,8 @@ components:
24595
24709
  description: The error code identifying the type of error.
24596
24710
  example: invalid_request_parameters
24597
24711
  const: invalid_request_parameters
24598
- message: *ref_26
24599
- required: *ref_27
24712
+ message: *ref_29
24713
+ required: *ref_30
24600
24714
  InvalidRoleErrorBody:
24601
24715
  type: object
24602
24716
  properties:
@@ -24605,8 +24719,8 @@ components:
24605
24719
  description: The error code identifying the type of error.
24606
24720
  example: invalid_role
24607
24721
  const: invalid_role
24608
- message: *ref_26
24609
- required: *ref_27
24722
+ message: *ref_29
24723
+ required: *ref_30
24610
24724
  MultipleRolesNotEnabledErrorBody:
24611
24725
  type: object
24612
24726
  properties:
@@ -24615,8 +24729,8 @@ components:
24615
24729
  description: The error code identifying the type of error.
24616
24730
  example: multiple_roles_not_enabled
24617
24731
  const: multiple_roles_not_enabled
24618
- message: *ref_26
24619
- required: *ref_27
24732
+ message: *ref_29
24733
+ required: *ref_30
24620
24734
  PasswordStrengthErrorErrorBodyWithErrors:
24621
24735
  type: object
24622
24736
  properties:
@@ -24625,9 +24739,9 @@ components:
24625
24739
  description: The error code identifying the type of error.
24626
24740
  example: password_strength_error
24627
24741
  const: password_strength_error
24628
- message: *ref_28
24629
- errors: *ref_29
24630
- required: *ref_30
24742
+ message: *ref_31
24743
+ errors: *ref_32
24744
+ required: *ref_33
24631
24745
  UserCreationErrorErrorBodyWithErrors:
24632
24746
  type: object
24633
24747
  properties:
@@ -24636,9 +24750,9 @@ components:
24636
24750
  description: The error code identifying the type of error.
24637
24751
  example: user_creation_error
24638
24752
  const: user_creation_error
24639
- message: *ref_28
24640
- errors: *ref_29
24641
- required: *ref_30
24753
+ message: *ref_31
24754
+ errors: *ref_32
24755
+ required: *ref_33
24642
24756
  InvalidPasswordHashErrorBody:
24643
24757
  type: object
24644
24758
  properties:
@@ -24647,8 +24761,8 @@ components:
24647
24761
  description: The error code identifying the type of error.
24648
24762
  example: invalid_password_hash
24649
24763
  const: invalid_password_hash
24650
- message: *ref_26
24651
- required: *ref_27
24764
+ message: *ref_29
24765
+ required: *ref_30
24652
24766
  PasswordAndPasswordHashProvidedErrorBody:
24653
24767
  type: object
24654
24768
  properties:
@@ -24657,8 +24771,8 @@ components:
24657
24771
  description: The error code identifying the type of error.
24658
24772
  example: password_and_password_hash_provided
24659
24773
  const: password_and_password_hash_provided
24660
- message: *ref_26
24661
- required: *ref_27
24774
+ message: *ref_29
24775
+ required: *ref_30
24662
24776
  PasswordAndPasswordHashTypeProvidedErrorBody:
24663
24777
  type: object
24664
24778
  properties:
@@ -24667,8 +24781,8 @@ components:
24667
24781
  description: The error code identifying the type of error.
24668
24782
  example: password_and_password_hash_type_provided
24669
24783
  const: password_and_password_hash_type_provided
24670
- message: *ref_26
24671
- required: *ref_27
24784
+ message: *ref_29
24785
+ required: *ref_30
24672
24786
  PasswordSaltPositionRequiresPasswordHashErrorBody:
24673
24787
  type: object
24674
24788
  properties:
@@ -24677,8 +24791,8 @@ components:
24677
24791
  description: The error code identifying the type of error.
24678
24792
  example: password_salt_position_requires_password_hash
24679
24793
  const: password_salt_position_requires_password_hash
24680
- message: *ref_26
24681
- required: *ref_27
24794
+ message: *ref_29
24795
+ required: *ref_30
24682
24796
  InvalidMetadataErrorBody:
24683
24797
  type: object
24684
24798
  properties:
@@ -24687,8 +24801,8 @@ components:
24687
24801
  description: The error code identifying the type of error.
24688
24802
  example: invalid_metadata
24689
24803
  const: invalid_metadata
24690
- message: *ref_26
24691
- required: *ref_27
24804
+ message: *ref_29
24805
+ required: *ref_30
24692
24806
  EmailAlreadyVerifiedErrorBody:
24693
24807
  type: object
24694
24808
  properties:
@@ -24697,8 +24811,8 @@ components:
24697
24811
  description: The error code identifying the type of error.
24698
24812
  example: email_already_verified
24699
24813
  const: email_already_verified
24700
- message: *ref_26
24701
- required: *ref_27
24814
+ message: *ref_29
24815
+ required: *ref_30
24702
24816
  ExternalIdAlreadyUsedErrorBody:
24703
24817
  type: object
24704
24818
  properties:
@@ -24707,8 +24821,8 @@ components:
24707
24821
  description: The error code identifying the type of error.
24708
24822
  example: external_id_already_used
24709
24823
  const: external_id_already_used
24710
- message: *ref_26
24711
- required: *ref_27
24824
+ message: *ref_29
24825
+ required: *ref_30
24712
24826
  InvalidLocaleErrorBody:
24713
24827
  type: object
24714
24828
  properties:
@@ -24717,8 +24831,8 @@ components:
24717
24831
  description: The error code identifying the type of error.
24718
24832
  example: invalid_locale
24719
24833
  const: invalid_locale
24720
- message: *ref_26
24721
- required: *ref_27
24834
+ message: *ref_29
24835
+ required: *ref_30
24722
24836
  InvalidOrganizationIdErrorBody:
24723
24837
  type: object
24724
24838
  properties:
@@ -24727,8 +24841,8 @@ components:
24727
24841
  description: The error code identifying the type of error.
24728
24842
  example: invalid_organization_id
24729
24843
  const: invalid_organization_id
24730
- message: *ref_26
24731
- required: *ref_27
24844
+ message: *ref_29
24845
+ required: *ref_30
24732
24846
  CodeChallengeNotFoundErrorBody:
24733
24847
  type: object
24734
24848
  properties:
@@ -24737,8 +24851,8 @@ components:
24737
24851
  description: The error code identifying the type of error.
24738
24852
  example: code_challenge_not_found
24739
24853
  const: code_challenge_not_found
24740
- message: *ref_26
24741
- required: *ref_27
24854
+ message: *ref_29
24855
+ required: *ref_30
24742
24856
  InvalidCredentialsErrorBody:
24743
24857
  type: object
24744
24858
  properties:
@@ -24747,8 +24861,8 @@ components:
24747
24861
  description: The error code identifying the type of error.
24748
24862
  example: invalid_credentials
24749
24863
  const: invalid_credentials
24750
- message: *ref_26
24751
- required: *ref_27
24864
+ message: *ref_29
24865
+ required: *ref_30
24752
24866
  InvalidOneTimeCodeErrorBody:
24753
24867
  type: object
24754
24868
  properties:
@@ -24757,8 +24871,8 @@ components:
24757
24871
  description: The error code identifying the type of error.
24758
24872
  example: invalid_one_time_code
24759
24873
  const: invalid_one_time_code
24760
- message: *ref_26
24761
- required: *ref_27
24874
+ message: *ref_29
24875
+ required: *ref_30
24762
24876
  OneTimeCodePreviouslyUsedErrorBody:
24763
24877
  type: object
24764
24878
  properties:
@@ -24767,8 +24881,8 @@ components:
24767
24881
  description: The error code identifying the type of error.
24768
24882
  example: one_time_code_previously_used
24769
24883
  const: one_time_code_previously_used
24770
- message: *ref_26
24771
- required: *ref_27
24884
+ message: *ref_29
24885
+ required: *ref_30
24772
24886
  OneTimeCodeExpiredErrorBody:
24773
24887
  type: object
24774
24888
  properties:
@@ -24777,8 +24891,8 @@ components:
24777
24891
  description: The error code identifying the type of error.
24778
24892
  example: one_time_code_expired
24779
24893
  const: one_time_code_expired
24780
- message: *ref_26
24781
- required: *ref_27
24894
+ message: *ref_29
24895
+ required: *ref_30
24782
24896
  OneTimeCodeTooManyAttemptsErrorBody:
24783
24897
  type: object
24784
24898
  properties:
@@ -24787,8 +24901,8 @@ components:
24787
24901
  description: The error code identifying the type of error.
24788
24902
  example: one_time_code_too_many_attempts
24789
24903
  const: one_time_code_too_many_attempts
24790
- message: *ref_26
24791
- required: *ref_27
24904
+ message: *ref_29
24905
+ required: *ref_30
24792
24906
  InvalidPendingAuthenticationTokenErrorBody:
24793
24907
  type: object
24794
24908
  properties:
@@ -24797,8 +24911,8 @@ components:
24797
24911
  description: The error code identifying the type of error.
24798
24912
  example: invalid_pending_authentication_token
24799
24913
  const: invalid_pending_authentication_token
24800
- message: *ref_26
24801
- required: *ref_27
24914
+ message: *ref_29
24915
+ required: *ref_30
24802
24916
  UserMismatchErrorBody:
24803
24917
  type: object
24804
24918
  properties:
@@ -24807,8 +24921,8 @@ components:
24807
24921
  description: The error code identifying the type of error.
24808
24922
  example: user_mismatch
24809
24923
  const: user_mismatch
24810
- message: *ref_26
24811
- required: *ref_27
24924
+ message: *ref_29
24925
+ required: *ref_30
24812
24926
  PhoneNumberRequiredErrorBody:
24813
24927
  type: object
24814
24928
  properties:
@@ -24817,8 +24931,8 @@ components:
24817
24931
  description: The error code identifying the type of error.
24818
24932
  example: phone_number_required
24819
24933
  const: phone_number_required
24820
- message: *ref_26
24821
- required: *ref_27
24934
+ message: *ref_29
24935
+ required: *ref_30
24822
24936
  VerificationIdRequiredErrorBody:
24823
24937
  type: object
24824
24938
  properties:
@@ -24827,8 +24941,8 @@ components:
24827
24941
  description: The error code identifying the type of error.
24828
24942
  example: verification_id_required
24829
24943
  const: verification_id_required
24830
- message: *ref_26
24831
- required: *ref_27
24944
+ message: *ref_29
24945
+ required: *ref_30
24832
24946
  InvalidClientOAuthErrorBody:
24833
24947
  type: object
24834
24948
  properties:
@@ -24837,8 +24951,8 @@ components:
24837
24951
  description: The OAuth error code.
24838
24952
  example: invalid_client
24839
24953
  const: invalid_client
24840
- error_description: *ref_31
24841
- required: *ref_32
24954
+ error_description: *ref_34
24955
+ required: *ref_35
24842
24956
  UnauthorizedClientOAuthErrorBody:
24843
24957
  type: object
24844
24958
  properties:
@@ -24847,8 +24961,8 @@ components:
24847
24961
  description: The OAuth error code.
24848
24962
  example: unauthorized_client
24849
24963
  const: unauthorized_client
24850
- error_description: *ref_31
24851
- required: *ref_32
24964
+ error_description: *ref_34
24965
+ required: *ref_35
24852
24966
  InvalidProfileOAuthErrorBody:
24853
24967
  type: object
24854
24968
  properties:
@@ -24857,8 +24971,8 @@ components:
24857
24971
  description: The OAuth error code.
24858
24972
  example: invalid_profile
24859
24973
  const: invalid_profile
24860
- error_description: *ref_31
24861
- required: *ref_32
24974
+ error_description: *ref_34
24975
+ required: *ref_35
24862
24976
  InvitationCannotBeUsedForEmailOAuthErrorBody:
24863
24977
  type: object
24864
24978
  properties:
@@ -24867,8 +24981,8 @@ components:
24867
24981
  description: The OAuth error code.
24868
24982
  example: invitation_cannot_be_used_for_email
24869
24983
  const: invitation_cannot_be_used_for_email
24870
- error_description: *ref_31
24871
- required: *ref_32
24984
+ error_description: *ref_34
24985
+ required: *ref_35
24872
24986
  InvalidConnectionOAuthErrorBody:
24873
24987
  type: object
24874
24988
  properties:
@@ -24877,8 +24991,8 @@ components:
24877
24991
  description: The OAuth error code.
24878
24992
  example: invalid_connection
24879
24993
  const: invalid_connection
24880
- error_description: *ref_31
24881
- required: *ref_32
24994
+ error_description: *ref_34
24995
+ required: *ref_35
24882
24996
  OrganizationAuthenticationMethodsRequiredOAuthErrorBody:
24883
24997
  type: object
24884
24998
  properties:
@@ -24887,8 +25001,8 @@ components:
24887
25001
  description: The OAuth error code.
24888
25002
  example: organization_authentication_methods_required
24889
25003
  const: organization_authentication_methods_required
24890
- error_description: *ref_31
24891
- required: *ref_32
25004
+ error_description: *ref_34
25005
+ required: *ref_35
24892
25006
  InvalidLinkAuthorizationCodeOAuthErrorBody:
24893
25007
  type: object
24894
25008
  properties:
@@ -24897,8 +25011,8 @@ components:
24897
25011
  description: The OAuth error code.
24898
25012
  example: invalid_link_authorization_code
24899
25013
  const: invalid_link_authorization_code
24900
- error_description: *ref_31
24901
- required: *ref_32
25014
+ error_description: *ref_34
25015
+ required: *ref_35
24902
25016
  ExtraAttributesRequiredOAuthErrorBody:
24903
25017
  type: object
24904
25018
  properties:
@@ -24907,8 +25021,8 @@ components:
24907
25021
  description: The OAuth error code.
24908
25022
  example: extra_attributes_required
24909
25023
  const: extra_attributes_required
24910
- error_description: *ref_31
24911
- required: *ref_32
25024
+ error_description: *ref_34
25025
+ required: *ref_35
24912
25026
  PkceNotSupportedOAuthErrorBody:
24913
25027
  type: object
24914
25028
  properties:
@@ -24917,8 +25031,8 @@ components:
24917
25031
  description: The OAuth error code.
24918
25032
  example: pkce_not_supported
24919
25033
  const: pkce_not_supported
24920
- error_description: *ref_31
24921
- required: *ref_32
25034
+ error_description: *ref_34
25035
+ required: *ref_35
24922
25036
  ExpiredTokenOAuthErrorBody:
24923
25037
  type: object
24924
25038
  properties:
@@ -24927,8 +25041,8 @@ components:
24927
25041
  description: The OAuth error code.
24928
25042
  example: expired_token
24929
25043
  const: expired_token
24930
- error_description: *ref_31
24931
- required: *ref_32
25044
+ error_description: *ref_34
25045
+ required: *ref_35
24932
25046
  AuthorizationPendingOAuthErrorBody:
24933
25047
  type: object
24934
25048
  properties:
@@ -24937,8 +25051,8 @@ components:
24937
25051
  description: The OAuth error code.
24938
25052
  example: authorization_pending
24939
25053
  const: authorization_pending
24940
- error_description: *ref_31
24941
- required: *ref_32
25054
+ error_description: *ref_34
25055
+ required: *ref_35
24942
25056
  AccessDeniedOAuthErrorBody:
24943
25057
  type: object
24944
25058
  properties:
@@ -24947,8 +25061,8 @@ components:
24947
25061
  description: The OAuth error code.
24948
25062
  example: access_denied
24949
25063
  const: access_denied
24950
- error_description: *ref_31
24951
- required: *ref_32
25064
+ error_description: *ref_34
25065
+ required: *ref_35
24952
25066
  SlowDownOAuthErrorBody:
24953
25067
  type: object
24954
25068
  properties:
@@ -24957,15 +25071,15 @@ components:
24957
25071
  description: The OAuth error code.
24958
25072
  example: slow_down
24959
25073
  const: slow_down
24960
- error_description: *ref_31
24961
- required: *ref_32
25074
+ error_description: *ref_34
25075
+ required: *ref_35
24962
25076
  MustUseSsoForSelectedOrganizationMessageErrorBody:
24963
25077
  type: object
24964
25078
  properties:
24965
25079
  message:
24966
25080
  type: string
24967
25081
  const: Must use SSO for selected organization
24968
- required: *ref_33
25082
+ required: *ref_36
24969
25083
  InvalidGrantOAuthErrorBody:
24970
25084
  type: object
24971
25085
  properties:
@@ -24974,8 +25088,8 @@ components:
24974
25088
  description: The OAuth error code.
24975
25089
  example: invalid_grant
24976
25090
  const: invalid_grant
24977
- error_description: *ref_31
24978
- required: *ref_32
25091
+ error_description: *ref_34
25092
+ required: *ref_35
24979
25093
  InvalidRequestOAuthErrorBody:
24980
25094
  type: object
24981
25095
  properties:
@@ -24984,8 +25098,8 @@ components:
24984
25098
  description: The OAuth error code.
24985
25099
  example: invalid_request
24986
25100
  const: invalid_request
24987
- error_description: *ref_31
24988
- required: *ref_32
25101
+ error_description: *ref_34
25102
+ required: *ref_35
24989
25103
  OrganizationNotFoundOAuthErrorBody:
24990
25104
  type: object
24991
25105
  properties:
@@ -24994,8 +25108,8 @@ components:
24994
25108
  description: The OAuth error code.
24995
25109
  example: organization_not_found
24996
25110
  const: organization_not_found
24997
- error_description: *ref_31
24998
- required: *ref_32
25111
+ error_description: *ref_34
25112
+ required: *ref_35
24999
25113
  OrganizationMembershipNotFoundOAuthErrorBody:
25000
25114
  type: object
25001
25115
  properties:
@@ -25004,8 +25118,8 @@ components:
25004
25118
  description: The OAuth error code.
25005
25119
  example: organization_membership_not_found
25006
25120
  const: organization_membership_not_found
25007
- error_description: *ref_31
25008
- required: *ref_32
25121
+ error_description: *ref_34
25122
+ required: *ref_35
25009
25123
  MfaEnrollmentOAuthErrorBody:
25010
25124
  type: object
25011
25125
  properties:
@@ -25014,8 +25128,8 @@ components:
25014
25128
  description: The OAuth error code.
25015
25129
  example: mfa_enrollment
25016
25130
  const: mfa_enrollment
25017
- error_description: *ref_31
25018
- required: *ref_32
25131
+ error_description: *ref_34
25132
+ required: *ref_35
25019
25133
  TokenTooBigOAuthErrorBody:
25020
25134
  type: object
25021
25135
  properties:
@@ -25024,8 +25138,8 @@ components:
25024
25138
  description: The OAuth error code.
25025
25139
  example: token_too_big
25026
25140
  const: token_too_big
25027
- error_description: *ref_31
25028
- required: *ref_32
25141
+ error_description: *ref_34
25142
+ required: *ref_35
25029
25143
  MfaEnrollmentErrorBody:
25030
25144
  type: object
25031
25145
  properties:
@@ -25034,8 +25148,8 @@ components:
25034
25148
  description: The error code identifying the type of error.
25035
25149
  example: mfa_enrollment
25036
25150
  const: mfa_enrollment
25037
- message: *ref_26
25038
- required: *ref_27
25151
+ message: *ref_29
25152
+ required: *ref_30
25039
25153
  MfaChallengeErrorBody:
25040
25154
  type: object
25041
25155
  properties:
@@ -25044,8 +25158,8 @@ components:
25044
25158
  description: The error code identifying the type of error.
25045
25159
  example: mfa_challenge
25046
25160
  const: mfa_challenge
25047
- message: *ref_26
25048
- required: *ref_27
25161
+ message: *ref_29
25162
+ required: *ref_30
25049
25163
  AuthenticationMethodNotAllowedErrorBody:
25050
25164
  type: object
25051
25165
  properties:
@@ -25054,8 +25168,8 @@ components:
25054
25168
  description: The error code identifying the type of error.
25055
25169
  example: authentication_method_not_allowed
25056
25170
  const: authentication_method_not_allowed
25057
- message: *ref_26
25058
- required: *ref_27
25171
+ message: *ref_29
25172
+ required: *ref_30
25059
25173
  EmailVerificationRequiredErrorBody:
25060
25174
  type: object
25061
25175
  properties:
@@ -25064,8 +25178,8 @@ components:
25064
25178
  description: The error code identifying the type of error.
25065
25179
  example: email_verification_required
25066
25180
  const: email_verification_required
25067
- message: *ref_26
25068
- required: *ref_27
25181
+ message: *ref_29
25182
+ required: *ref_30
25069
25183
  EmailPasswordAuthDisabledErrorBody:
25070
25184
  type: object
25071
25185
  properties:
@@ -25074,8 +25188,8 @@ components:
25074
25188
  description: The error code identifying the type of error.
25075
25189
  example: email_password_auth_disabled
25076
25190
  const: email_password_auth_disabled
25077
- message: *ref_26
25078
- required: *ref_27
25191
+ message: *ref_29
25192
+ required: *ref_30
25079
25193
  OrganizationSelectionRequiredErrorBody:
25080
25194
  type: object
25081
25195
  properties:
@@ -25084,8 +25198,8 @@ components:
25084
25198
  description: The error code identifying the type of error.
25085
25199
  example: organization_selection_required
25086
25200
  const: organization_selection_required
25087
- message: *ref_26
25088
- required: *ref_27
25201
+ message: *ref_29
25202
+ required: *ref_30
25089
25203
  PasskeyProgressiveEnrollmentErrorBody:
25090
25204
  type: object
25091
25205
  properties:
@@ -25094,8 +25208,8 @@ components:
25094
25208
  description: The error code identifying the type of error.
25095
25209
  example: passkey_progressive_enrollment
25096
25210
  const: passkey_progressive_enrollment
25097
- message: *ref_26
25098
- required: *ref_27
25211
+ message: *ref_29
25212
+ required: *ref_30
25099
25213
  RadarChallengeErrorBody:
25100
25214
  type: object
25101
25215
  properties:
@@ -25104,8 +25218,8 @@ components:
25104
25218
  description: The error code identifying the type of error.
25105
25219
  example: radar_challenge
25106
25220
  const: radar_challenge
25107
- message: *ref_26
25108
- required: *ref_27
25221
+ message: *ref_29
25222
+ required: *ref_30
25109
25223
  RadarSignUpChallengeErrorBody:
25110
25224
  type: object
25111
25225
  properties:
@@ -25114,8 +25228,8 @@ components:
25114
25228
  description: The error code identifying the type of error.
25115
25229
  example: radar_sign_up_challenge
25116
25230
  const: radar_sign_up_challenge
25117
- message: *ref_26
25118
- required: *ref_27
25231
+ message: *ref_29
25232
+ required: *ref_30
25119
25233
  RadarSmsSignInChallengeErrorBody:
25120
25234
  type: object
25121
25235
  properties:
@@ -25124,8 +25238,8 @@ components:
25124
25238
  description: The error code identifying the type of error.
25125
25239
  example: radar_sms_sign_in_challenge
25126
25240
  const: radar_sms_sign_in_challenge
25127
- message: *ref_26
25128
- required: *ref_27
25241
+ message: *ref_29
25242
+ required: *ref_30
25129
25243
  ApplicationConsentRequiredErrorBody:
25130
25244
  type: object
25131
25245
  properties:
@@ -25134,8 +25248,8 @@ components:
25134
25248
  description: The error code identifying the type of error.
25135
25249
  example: application_consent_required
25136
25250
  const: application_consent_required
25137
- message: *ref_26
25138
- required: *ref_27
25251
+ message: *ref_29
25252
+ required: *ref_30
25139
25253
  PolicyDeniedErrorBody:
25140
25254
  type: object
25141
25255
  properties:
@@ -25144,8 +25258,8 @@ components:
25144
25258
  description: The error code identifying the type of error.
25145
25259
  example: policy_denied
25146
25260
  const: policy_denied
25147
- message: *ref_26
25148
- required: *ref_27
25261
+ message: *ref_29
25262
+ required: *ref_30
25149
25263
  ActionDeniedErrorBody:
25150
25264
  type: object
25151
25265
  properties:
@@ -25154,8 +25268,8 @@ components:
25154
25268
  description: The error code identifying the type of error.
25155
25269
  example: action_denied
25156
25270
  const: action_denied
25157
- message: *ref_26
25158
- required: *ref_27
25271
+ message: *ref_29
25272
+ required: *ref_30
25159
25273
  DailyQuotaExceededErrorBody:
25160
25274
  type: object
25161
25275
  properties:
@@ -25164,8 +25278,8 @@ components:
25164
25278
  description: The error code identifying the type of error.
25165
25279
  example: daily_quota_exceeded
25166
25280
  const: daily_quota_exceeded
25167
- message: *ref_26
25168
- required: *ref_27
25281
+ message: *ref_29
25282
+ required: *ref_30
25169
25283
  TooManyRequestsOAuthErrorBody:
25170
25284
  type: object
25171
25285
  properties:
@@ -25174,8 +25288,8 @@ components:
25174
25288
  description: The OAuth error code.
25175
25289
  example: too_many_requests
25176
25290
  const: too_many_requests
25177
- error_description: *ref_31
25178
- required: *ref_32
25291
+ error_description: *ref_34
25292
+ required: *ref_35
25179
25293
  InvalidUrlErrorBody:
25180
25294
  type: object
25181
25295
  properties:
@@ -25184,8 +25298,8 @@ components:
25184
25298
  description: The error code identifying the type of error.
25185
25299
  example: invalid_url
25186
25300
  const: invalid_url
25187
- message: *ref_26
25188
- required: *ref_27
25301
+ message: *ref_29
25302
+ required: *ref_30
25189
25303
  Actor:
25190
25304
  description: The user or API key that performed an action.
25191
25305
  properties:
@@ -28835,7 +28949,7 @@ components:
28835
28949
  description: >-
28836
28950
  An object containing the custom attribute mapping for the Directory
28837
28951
  Provider.
28838
- example: &ref_40
28952
+ example: &ref_43
28839
28953
  department: Engineering
28840
28954
  job_title: Software Engineer
28841
28955
  role:
@@ -29288,7 +29402,7 @@ components:
29288
29402
  type: object
29289
29403
  additionalProperties: {}
29290
29404
  description: The event payload.
29291
- example: &ref_34
29405
+ example: &ref_37
29292
29406
  id: directory_user_01E1JG7J09H96KYP8HM9B0G5SJ
29293
29407
  directory_id: directory_01ECAZ4NV9QMV47GW873HDCX74
29294
29408
  organization_id: org_01EZTR6WYX1A0DSE2CYMGXQ24Y
@@ -29323,11 +29437,11 @@ components:
29323
29437
  - data
29324
29438
  - created_at
29325
29439
  description: An event emitted by WorkOS.
29326
- example: &ref_46
29440
+ example: &ref_49
29327
29441
  object: event
29328
29442
  id: event_01EHZNVPK3SFK441A1RGBFSHRT
29329
29443
  event: dsync.user.created
29330
- data: *ref_34
29444
+ data: *ref_37
29331
29445
  created_at: '2021-06-25T19:07:33.155Z'
29332
29446
  context: {}
29333
29447
  - oneOf:
@@ -29527,7 +29641,7 @@ components:
29527
29641
  description: >-
29528
29642
  Permission slugs forming the ceiling on what sessions
29529
29643
  minted from this blueprint may do.
29530
- example: &ref_35
29644
+ example: &ref_38
29531
29645
  - crm:read
29532
29646
  - email:send
29533
29647
  invocable_by:
@@ -29540,7 +29654,7 @@ components:
29540
29654
  description: >-
29541
29655
  Role slugs whose members may mint user-delegated
29542
29656
  sessions from this blueprint.
29543
- example: &ref_36
29657
+ example: &ref_39
29544
29658
  - manager
29545
29659
  organization_ids:
29546
29660
  type: array
@@ -29549,7 +29663,7 @@ components:
29549
29663
  description: >-
29550
29664
  Organizations in which autonomous sessions may be
29551
29665
  minted from this blueprint.
29552
- example: &ref_37
29666
+ example: &ref_40
29553
29667
  - org_01EHWNCE74X7JSDV0X3SZ3KJNY
29554
29668
  required:
29555
29669
  - role_slugs
@@ -29569,7 +29683,7 @@ components:
29569
29683
  Instance types that may be minted from this
29570
29684
  blueprint: `delegated` (acting for a user) and/or
29571
29685
  `autonomous` (acting as the agent itself).
29572
- example: &ref_38
29686
+ example: &ref_41
29573
29687
  - delegated
29574
29688
  - autonomous
29575
29689
  required:
@@ -29729,7 +29843,7 @@ components:
29729
29843
  description: >-
29730
29844
  Permission slugs forming the ceiling on what sessions
29731
29845
  minted from this blueprint may do.
29732
- example: *ref_35
29846
+ example: *ref_38
29733
29847
  invocable_by:
29734
29848
  type: object
29735
29849
  properties:
@@ -29740,7 +29854,7 @@ components:
29740
29854
  description: >-
29741
29855
  Role slugs whose members may mint user-delegated
29742
29856
  sessions from this blueprint.
29743
- example: *ref_36
29857
+ example: *ref_39
29744
29858
  organization_ids:
29745
29859
  type: array
29746
29860
  items:
@@ -29748,7 +29862,7 @@ components:
29748
29862
  description: >-
29749
29863
  Organizations in which autonomous sessions may be
29750
29864
  minted from this blueprint.
29751
- example: *ref_37
29865
+ example: *ref_40
29752
29866
  required:
29753
29867
  - role_slugs
29754
29868
  - organization_ids
@@ -29767,7 +29881,7 @@ components:
29767
29881
  Instance types that may be minted from this
29768
29882
  blueprint: `delegated` (acting for a user) and/or
29769
29883
  `autonomous` (acting as the agent itself).
29770
- example: *ref_38
29884
+ example: *ref_41
29771
29885
  required:
29772
29886
  - instance_types
29773
29887
  description: How sessions may be minted from this blueprint.
@@ -30803,7 +30917,7 @@ components:
30803
30917
  items:
30804
30918
  type: string
30805
30919
  description: The permissions granted to the API key.
30806
- example: &ref_39
30920
+ example: &ref_42
30807
30921
  - users:read
30808
30922
  - users:write
30809
30923
  created_at:
@@ -30929,7 +31043,7 @@ components:
30929
31043
  items:
30930
31044
  type: string
30931
31045
  description: The permissions granted to the API key.
30932
- example: *ref_39
31046
+ example: *ref_42
30933
31047
  created_at:
30934
31048
  type: string
30935
31049
  description: The timestamp when the API key was created.
@@ -31053,7 +31167,7 @@ components:
31053
31167
  items:
31054
31168
  type: string
31055
31169
  description: The permissions granted to the API key.
31056
- example: *ref_39
31170
+ example: *ref_42
31057
31171
  created_at:
31058
31172
  type: string
31059
31173
  description: The timestamp when the API key was created.
@@ -33920,7 +34034,7 @@ components:
33920
34034
  description: >-
33921
34035
  An object containing the custom attribute mapping for
33922
34036
  the Directory Provider.
33923
- example: *ref_40
34037
+ example: *ref_43
33924
34038
  role:
33925
34039
  $ref: '#/components/schemas/SlimRole'
33926
34040
  roles:
@@ -34110,7 +34224,7 @@ components:
34110
34224
  description: >-
34111
34225
  Labels assigned to the Feature Flag for categorizing and
34112
34226
  filtering.
34113
- example: &ref_41
34227
+ example: &ref_44
34114
34228
  - reports
34115
34229
  enabled:
34116
34230
  type: boolean
@@ -34271,7 +34385,7 @@ components:
34271
34385
  description: >-
34272
34386
  Labels assigned to the Feature Flag for categorizing and
34273
34387
  filtering.
34274
- example: *ref_41
34388
+ example: *ref_44
34275
34389
  enabled:
34276
34390
  type: boolean
34277
34391
  description: >-
@@ -34635,7 +34749,7 @@ components:
34635
34749
  description: >-
34636
34750
  Labels assigned to the Feature Flag for categorizing and
34637
34751
  filtering.
34638
- example: *ref_41
34752
+ example: *ref_44
34639
34753
  enabled:
34640
34754
  type: boolean
34641
34755
  description: >-
@@ -34731,7 +34845,7 @@ components:
34731
34845
  items:
34732
34846
  type: string
34733
34847
  description: The previous tags of the flag.
34734
- example: &ref_42
34848
+ example: &ref_45
34735
34849
  - beta
34736
34850
  - release
34737
34851
  owner:
@@ -34857,7 +34971,7 @@ components:
34857
34971
  description: >-
34858
34972
  Labels assigned to the Feature Flag for categorizing and
34859
34973
  filtering.
34860
- example: *ref_41
34974
+ example: *ref_44
34861
34975
  enabled:
34862
34976
  type: boolean
34863
34977
  description: >-
@@ -35017,7 +35131,7 @@ components:
35017
35131
  description: >-
35018
35132
  Labels assigned to the Feature Flag for categorizing and
35019
35133
  filtering.
35020
- example: *ref_41
35134
+ example: *ref_44
35021
35135
  enabled:
35022
35136
  type: boolean
35023
35137
  description: >-
@@ -35177,7 +35291,7 @@ components:
35177
35291
  description: >-
35178
35292
  Labels assigned to the Feature Flag for categorizing and
35179
35293
  filtering.
35180
- example: *ref_41
35294
+ example: *ref_44
35181
35295
  enabled:
35182
35296
  type: boolean
35183
35297
  description: >-
@@ -35587,7 +35701,7 @@ components:
35587
35701
  description: >-
35588
35702
  Labels assigned to the Feature Flag for categorizing and
35589
35703
  filtering.
35590
- example: *ref_41
35704
+ example: *ref_44
35591
35705
  enabled:
35592
35706
  type: boolean
35593
35707
  description: >-
@@ -35683,7 +35797,7 @@ components:
35683
35797
  items:
35684
35798
  type: string
35685
35799
  description: The previous tags of the flag.
35686
- example: *ref_42
35800
+ example: *ref_45
35687
35801
  owner:
35688
35802
  description: >-
35689
35803
  The previous owner of the flag, or `null` if it
@@ -36601,7 +36715,7 @@ components:
36601
36715
  description: >-
36602
36716
  Object containing [metadata](/authkit/metadata)
36603
36717
  key/value pairs associated with the Organization.
36604
- example: &ref_43
36718
+ example: &ref_46
36605
36719
  tier: diamond
36606
36720
  propertyNames:
36607
36721
  maxLength: 40
@@ -36751,7 +36865,7 @@ components:
36751
36865
  description: >-
36752
36866
  Object containing [metadata](/authkit/metadata)
36753
36867
  key/value pairs associated with the Organization.
36754
- example: *ref_43
36868
+ example: *ref_46
36755
36869
  propertyNames:
36756
36870
  maxLength: 40
36757
36871
  maxProperties: 50
@@ -37578,7 +37692,7 @@ components:
37578
37692
  items:
37579
37693
  type: string
37580
37694
  description: The permissions granted by the role.
37581
- example: &ref_44
37695
+ example: &ref_47
37582
37696
  - users:read
37583
37697
  - users:write
37584
37698
  created_at:
@@ -37662,7 +37776,7 @@ components:
37662
37776
  items:
37663
37777
  type: string
37664
37778
  description: The permissions granted by the role.
37665
- example: *ref_44
37779
+ example: *ref_47
37666
37780
  created_at:
37667
37781
  format: date-time
37668
37782
  type: string
@@ -37744,7 +37858,7 @@ components:
37744
37858
  items:
37745
37859
  type: string
37746
37860
  description: The permissions granted by the role.
37747
- example: *ref_44
37861
+ example: *ref_47
37748
37862
  created_at:
37749
37863
  format: date-time
37750
37864
  type: string
@@ -37881,7 +37995,7 @@ components:
37881
37995
  description: >-
37882
37996
  Object containing [metadata](/authkit/metadata)
37883
37997
  key/value pairs associated with the Organization.
37884
- example: *ref_43
37998
+ example: *ref_46
37885
37999
  propertyNames:
37886
38000
  maxLength: 40
37887
38001
  maxProperties: 50
@@ -39085,7 +39199,7 @@ components:
39085
39199
  items:
39086
39200
  type: string
39087
39201
  description: The permissions granted by the role.
39088
- example: &ref_45
39202
+ example: &ref_48
39089
39203
  - users:read
39090
39204
  - users:write
39091
39205
  created_at:
@@ -39151,7 +39265,7 @@ components:
39151
39265
  items:
39152
39266
  type: string
39153
39267
  description: The permissions granted by the role.
39154
- example: *ref_45
39268
+ example: *ref_48
39155
39269
  created_at:
39156
39270
  format: date-time
39157
39271
  type: string
@@ -39215,7 +39329,7 @@ components:
39215
39329
  items:
39216
39330
  type: string
39217
39331
  description: The permissions granted by the role.
39218
- example: *ref_45
39332
+ example: *ref_48
39219
39333
  created_at:
39220
39334
  format: date-time
39221
39335
  type: string
@@ -40417,7 +40531,7 @@ components:
40417
40531
  - data
40418
40532
  - created_at
40419
40533
  - object
40420
- example: *ref_46
40534
+ example: *ref_49
40421
40535
  description: An event emitted by WorkOS.
40422
40536
  EventList:
40423
40537
  type: object
@@ -40452,7 +40566,7 @@ components:
40452
40566
  example:
40453
40567
  object: list
40454
40568
  data:
40455
- - *ref_46
40569
+ - *ref_49
40456
40570
  list_metadata:
40457
40571
  after: event_01EHZNVPK3SFK441A1RGBFSHRT
40458
40572
  JwtTemplate:
@@ -42001,8 +42115,8 @@ components:
42001
42115
  - state
42002
42116
  AuthMethodMismatchError:
42003
42117
  type: object
42004
- properties: *ref_47
42005
- required: *ref_48
42118
+ properties: *ref_50
42119
+ required: *ref_51
42006
42120
  DataIntegrationAccessTokenResponse:
42007
42121
  oneOf:
42008
42122
  - type: object
@@ -42085,8 +42199,8 @@ components:
42085
42199
  - error
42086
42200
  AccountSelectionRequiredError:
42087
42201
  type: object
42088
- properties: *ref_49
42089
- required: *ref_50
42202
+ properties: *ref_52
42203
+ required: *ref_53
42090
42204
  DataIntegrationVendedCredential:
42091
42205
  discriminator:
42092
42206
  propertyName: auth_method
@@ -42153,7 +42267,7 @@ components:
42153
42267
  each `client_credentials` mint. A field a later OAuth refresh
42154
42268
  omits keeps its stored value. Present for `oauth` and
42155
42269
  `client_credentials` credentials; absent for `api_key`.
42156
- example: &ref_52
42270
+ example: &ref_55
42157
42271
  instance_url: https://acme.my.salesforce.com
42158
42272
  config:
42159
42273
  type: object
@@ -42169,7 +42283,7 @@ components:
42169
42283
  integration or organization pins require reconnecting or
42170
42284
  explicitly rebinding the connection. Defaults are live and can
42171
42285
  differ from a cached token's audience until refresh or re-mint.
42172
- example: &ref_51
42286
+ example: &ref_54
42173
42287
  account: myorg-myaccount
42174
42288
  required:
42175
42289
  - object
@@ -42215,7 +42329,7 @@ components:
42215
42329
  integration or organization pins require reconnecting or
42216
42330
  explicitly rebinding the connection. Defaults are live and can
42217
42331
  differ from a cached token's audience until refresh or re-mint.
42218
- example: *ref_51
42332
+ example: *ref_54
42219
42333
  required:
42220
42334
  - object
42221
42335
  - auth_method
@@ -42279,7 +42393,7 @@ components:
42279
42393
  each `client_credentials` mint. A field a later OAuth refresh
42280
42394
  omits keeps its stored value. Present for `oauth` and
42281
42395
  `client_credentials` credentials; absent for `api_key`.
42282
- example: *ref_52
42396
+ example: *ref_55
42283
42397
  config:
42284
42398
  type: object
42285
42399
  additionalProperties:
@@ -42294,7 +42408,7 @@ components:
42294
42408
  integration or organization pins require reconnecting or
42295
42409
  explicitly rebinding the connection. Defaults are live and can
42296
42410
  differ from a cached token's audience until refresh or re-mint.
42297
- example: *ref_51
42411
+ example: *ref_54
42298
42412
  required:
42299
42413
  - object
42300
42414
  - auth_method
@@ -42464,7 +42578,7 @@ components:
42464
42578
  deprecated: true
42465
42579
  description: Use updated_at instead.
42466
42580
  connected_account:
42467
- example: &ref_55
42581
+ example: &ref_58
42468
42582
  object: connected_account
42469
42583
  id: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
42470
42584
  connection_role: compatibility
@@ -42553,7 +42667,7 @@ components:
42553
42667
  items:
42554
42668
  type: string
42555
42669
  description: The OAuth scopes granted for this connection.
42556
- example: &ref_53
42670
+ example: &ref_56
42557
42671
  - repo
42558
42672
  - user:email
42559
42673
  auth_method:
@@ -42603,7 +42717,7 @@ components:
42603
42717
  `installation` scope, excluding secret and undeclared
42604
42718
  fields. Returned for every authentication method;
42605
42719
  empty when no stored values can be disclosed.
42606
- example: &ref_54
42720
+ example: &ref_57
42607
42721
  instance_url: https://example.my.salesforce.com
42608
42722
  state:
42609
42723
  type: string
@@ -42788,7 +42902,7 @@ components:
42788
42902
  items:
42789
42903
  type: string
42790
42904
  description: The OAuth scopes granted for this connection.
42791
- example: *ref_53
42905
+ example: *ref_56
42792
42906
  auth_method:
42793
42907
  type: string
42794
42908
  enum:
@@ -42835,7 +42949,7 @@ components:
42835
42949
  `installation` scope, excluding secret and undeclared
42836
42950
  fields. Returned for every authentication method; empty
42837
42951
  when no stored values can be disclosed.
42838
- example: *ref_54
42952
+ example: *ref_57
42839
42953
  state:
42840
42954
  type: string
42841
42955
  enum:
@@ -42953,7 +43067,7 @@ components:
42953
43067
  - organizationId
42954
43068
  - createdAt
42955
43069
  - updatedAt
42956
- example: *ref_55
43070
+ example: *ref_58
42957
43071
  description: >-
42958
43072
  The user's connected accounts for this provider in the
42959
43073
  requested ownership context. This contains only the