@workos/openapi-spec 0.137.0 → 0.139.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.
- package/dist/open-api-spec.yaml +572 -867
- package/dist/services.mjs +5 -0
- package/dist/types.d.ts +119 -259
- package/package.json +1 -1
package/dist/open-api-spec.yaml
CHANGED
|
@@ -4119,7 +4119,7 @@ paths:
|
|
|
4119
4119
|
summary: Check authorization
|
|
4120
4120
|
tags:
|
|
4121
4121
|
- authorization
|
|
4122
|
-
x-mutually-exclusive-body-groups: &
|
|
4122
|
+
x-mutually-exclusive-body-groups: &ref_5
|
|
4123
4123
|
resource_target:
|
|
4124
4124
|
optional: false
|
|
4125
4125
|
variants:
|
|
@@ -4858,7 +4858,7 @@ paths:
|
|
|
4858
4858
|
summary: Assign a role
|
|
4859
4859
|
tags:
|
|
4860
4860
|
- authorization
|
|
4861
|
-
x-mutually-exclusive-body-groups: &
|
|
4861
|
+
x-mutually-exclusive-body-groups: &ref_6
|
|
4862
4862
|
resource_target:
|
|
4863
4863
|
optional: false
|
|
4864
4864
|
variants:
|
|
@@ -4929,7 +4929,7 @@ paths:
|
|
|
4929
4929
|
summary: Remove a role assignment
|
|
4930
4930
|
tags:
|
|
4931
4931
|
- authorization
|
|
4932
|
-
x-mutually-exclusive-body-groups: &
|
|
4932
|
+
x-mutually-exclusive-body-groups: &ref_7
|
|
4933
4933
|
resource_target:
|
|
4934
4934
|
optional: false
|
|
4935
4935
|
variants:
|
|
@@ -7466,7 +7466,7 @@ paths:
|
|
|
7466
7466
|
summary: Create an authorization resource
|
|
7467
7467
|
tags:
|
|
7468
7468
|
- authorization
|
|
7469
|
-
x-mutually-exclusive-body-groups: &
|
|
7469
|
+
x-mutually-exclusive-body-groups: &ref_8
|
|
7470
7470
|
parent_resource:
|
|
7471
7471
|
optional: true
|
|
7472
7472
|
variants:
|
|
@@ -9710,7 +9710,7 @@ paths:
|
|
|
9710
9710
|
tags:
|
|
9711
9711
|
- connections
|
|
9712
9712
|
x-feature-flag: connections-api-migrations-capabilities-api
|
|
9713
|
-
x-mutually-exclusive-body-groups: &
|
|
9713
|
+
x-mutually-exclusive-body-groups: &ref_9
|
|
9714
9714
|
protocol_options:
|
|
9715
9715
|
optional: false
|
|
9716
9716
|
variants:
|
|
@@ -10952,7 +10952,7 @@ paths:
|
|
|
10952
10952
|
tags:
|
|
10953
10953
|
- connections
|
|
10954
10954
|
x-feature-flag: connections-api-migrations-capabilities-api
|
|
10955
|
-
x-mutually-exclusive-body-groups: &
|
|
10955
|
+
x-mutually-exclusive-body-groups: &ref_12
|
|
10956
10956
|
protocol_options:
|
|
10957
10957
|
optional: true
|
|
10958
10958
|
variants:
|
|
@@ -11702,199 +11702,78 @@ paths:
|
|
|
11702
11702
|
content:
|
|
11703
11703
|
application/json:
|
|
11704
11704
|
schema:
|
|
11705
|
-
|
|
11706
|
-
|
|
11707
|
-
|
|
11708
|
-
|
|
11709
|
-
|
|
11710
|
-
|
|
11711
|
-
|
|
11712
|
-
|
|
11713
|
-
|
|
11714
|
-
|
|
11715
|
-
|
|
11716
|
-
|
|
11717
|
-
|
|
11718
|
-
|
|
11719
|
-
|
|
11720
|
-
|
|
11721
|
-
|
|
11722
|
-
|
|
11723
|
-
|
|
11724
|
-
|
|
11725
|
-
|
|
11726
|
-
|
|
11727
|
-
|
|
11728
|
-
|
|
11729
|
-
|
|
11730
|
-
|
|
11731
|
-
|
|
11732
|
-
|
|
11733
|
-
|
|
11734
|
-
|
|
11735
|
-
|
|
11736
|
-
|
|
11737
|
-
|
|
11738
|
-
|
|
11739
|
-
|
|
11740
|
-
|
|
11741
|
-
|
|
11742
|
-
|
|
11743
|
-
|
|
11744
|
-
|
|
11745
|
-
|
|
11746
|
-
|
|
11747
|
-
|
|
11748
|
-
|
|
11749
|
-
|
|
11750
|
-
|
|
11751
|
-
|
|
11752
|
-
|
|
11753
|
-
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11763
|
-
|
|
11764
|
-
|
|
11765
|
-
|
|
11766
|
-
|
|
11767
|
-
|
|
11768
|
-
|
|
11769
|
-
|
|
11770
|
-
|
|
11771
|
-
|
|
11772
|
-
|
|
11773
|
-
|
|
11774
|
-
|
|
11775
|
-
|
|
11776
|
-
|
|
11777
|
-
- 'null'
|
|
11778
|
-
minLength: 1
|
|
11779
|
-
description: >-
|
|
11780
|
-
A developer-attested provider account identifier, never
|
|
11781
|
-
inferred from a label or credential. Omit to preserve an
|
|
11782
|
-
existing identifier; null clears it.
|
|
11783
|
-
example: workspace_123
|
|
11784
|
-
user_id:
|
|
11785
|
-
type: string
|
|
11786
|
-
description: A [User](/reference/authkit/user) identifier.
|
|
11787
|
-
example: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11788
|
-
organization_id:
|
|
11789
|
-
type: string
|
|
11790
|
-
description: >-
|
|
11791
|
-
An [Organization](/reference/organization) identifier.
|
|
11792
|
-
Optional parameter to scope the connection to a specific
|
|
11793
|
-
organization. Required when `connection_owner` is
|
|
11794
|
-
`organization`.
|
|
11795
|
-
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11796
|
-
connection_owner:
|
|
11797
|
-
type: string
|
|
11798
|
-
enum:
|
|
11799
|
-
- user
|
|
11800
|
-
- organization
|
|
11801
|
-
description: >-
|
|
11802
|
-
Whose connection to create or rotate. `user` (the
|
|
11803
|
-
default) addresses the connection owned by `user_id`.
|
|
11804
|
-
`organization` addresses the connection shared by every
|
|
11805
|
-
member of `organization_id`; `user_id` then identifies
|
|
11806
|
-
the member performing the request and must be an active
|
|
11807
|
-
member of the organization.
|
|
11808
|
-
example: user
|
|
11809
|
-
secret:
|
|
11810
|
-
type: string
|
|
11811
|
-
minLength: 1
|
|
11812
|
-
description: The API key secret to store for this integration.
|
|
11813
|
-
example: sk-1234567890abcdef
|
|
11814
|
-
connection_intent:
|
|
11815
|
-
type: string
|
|
11816
|
-
description: >-
|
|
11817
|
-
Reauthorize exactly the connection named by
|
|
11818
|
-
`connected_account_id`.
|
|
11819
|
-
example: reauthorize
|
|
11820
|
-
const: reauthorize
|
|
11821
|
-
connected_account_id:
|
|
11822
|
-
type: string
|
|
11823
|
-
pattern: ^data_installation_.+$
|
|
11824
|
-
description: >-
|
|
11825
|
-
The exact connected account to reauthorize. Required
|
|
11826
|
-
with `connection_intent: reauthorize`.
|
|
11827
|
-
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11828
|
-
required:
|
|
11829
|
-
- user_id
|
|
11830
|
-
- secret
|
|
11831
|
-
- connection_intent
|
|
11832
|
-
- connected_account_id
|
|
11833
|
-
additionalProperties: false
|
|
11834
|
-
- type: object
|
|
11835
|
-
properties:
|
|
11836
|
-
account_display_name:
|
|
11837
|
-
type:
|
|
11838
|
-
- string
|
|
11839
|
-
- 'null'
|
|
11840
|
-
description: >-
|
|
11841
|
-
A mutable, non-unique label. Omit to preserve an
|
|
11842
|
-
existing label; null clears it. Labels are never account
|
|
11843
|
-
identifiers.
|
|
11844
|
-
maxLength: 255
|
|
11845
|
-
example: Acme production
|
|
11846
|
-
account_identifier:
|
|
11847
|
-
type:
|
|
11848
|
-
- string
|
|
11849
|
-
- 'null'
|
|
11850
|
-
minLength: 1
|
|
11851
|
-
description: >-
|
|
11852
|
-
A developer-attested provider account identifier, never
|
|
11853
|
-
inferred from a label or credential. Omit to preserve an
|
|
11854
|
-
existing identifier; null clears it.
|
|
11855
|
-
example: workspace_123
|
|
11856
|
-
user_id:
|
|
11857
|
-
type: string
|
|
11858
|
-
description: A [User](/reference/authkit/user) identifier.
|
|
11859
|
-
example: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11860
|
-
organization_id:
|
|
11861
|
-
type: string
|
|
11862
|
-
description: >-
|
|
11863
|
-
An [Organization](/reference/organization) identifier.
|
|
11864
|
-
Optional parameter to scope the connection to a specific
|
|
11865
|
-
organization. Required when `connection_owner` is
|
|
11866
|
-
`organization`.
|
|
11867
|
-
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11868
|
-
connection_owner:
|
|
11869
|
-
type: string
|
|
11870
|
-
enum:
|
|
11871
|
-
- user
|
|
11872
|
-
- organization
|
|
11873
|
-
description: >-
|
|
11874
|
-
Whose connection to create or rotate. `user` (the
|
|
11875
|
-
default) addresses the connection owned by `user_id`.
|
|
11876
|
-
`organization` addresses the connection shared by every
|
|
11877
|
-
member of `organization_id`; `user_id` then identifies
|
|
11878
|
-
the member performing the request and must be an active
|
|
11879
|
-
member of the organization.
|
|
11880
|
-
example: user
|
|
11881
|
-
secret:
|
|
11882
|
-
type: string
|
|
11883
|
-
minLength: 1
|
|
11884
|
-
description: The API key secret to store for this integration.
|
|
11885
|
-
example: sk-1234567890abcdef
|
|
11886
|
-
connected_account_id:
|
|
11887
|
-
type: string
|
|
11888
|
-
pattern: ^data_installation_.+$
|
|
11889
|
-
description: >-
|
|
11890
|
-
The exact connected account to reauthorize. The
|
|
11891
|
-
reauthorize intent may be omitted for compatibility.
|
|
11892
|
-
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11893
|
-
required:
|
|
11894
|
-
- user_id
|
|
11895
|
-
- secret
|
|
11896
|
-
- connected_account_id
|
|
11897
|
-
additionalProperties: false
|
|
11705
|
+
type: object
|
|
11706
|
+
properties:
|
|
11707
|
+
account_display_name:
|
|
11708
|
+
type:
|
|
11709
|
+
- string
|
|
11710
|
+
- 'null'
|
|
11711
|
+
description: >-
|
|
11712
|
+
A mutable, non-unique label. Omit to preserve an existing
|
|
11713
|
+
label; null clears it. Labels are never account identifiers.
|
|
11714
|
+
maxLength: 255
|
|
11715
|
+
example: Acme production
|
|
11716
|
+
account_identifier:
|
|
11717
|
+
type:
|
|
11718
|
+
- string
|
|
11719
|
+
- 'null'
|
|
11720
|
+
minLength: 1
|
|
11721
|
+
description: >-
|
|
11722
|
+
A developer-attested provider account identifier, never
|
|
11723
|
+
inferred from a label or credential. Omit to preserve an
|
|
11724
|
+
existing identifier; null clears it.
|
|
11725
|
+
example: workspace_123
|
|
11726
|
+
user_id:
|
|
11727
|
+
type: string
|
|
11728
|
+
description: A [User](/reference/authkit/user) identifier.
|
|
11729
|
+
example: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11730
|
+
organization_id:
|
|
11731
|
+
type: string
|
|
11732
|
+
description: >-
|
|
11733
|
+
An [Organization](/reference/organization) identifier.
|
|
11734
|
+
Optional parameter to scope the connection to a specific
|
|
11735
|
+
organization. Required when `connection_owner` is
|
|
11736
|
+
`organization`.
|
|
11737
|
+
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11738
|
+
connection_owner:
|
|
11739
|
+
type: string
|
|
11740
|
+
enum:
|
|
11741
|
+
- user
|
|
11742
|
+
- organization
|
|
11743
|
+
description: >-
|
|
11744
|
+
Whose connection to create or rotate. `user` (the default)
|
|
11745
|
+
addresses the connection owned by `user_id`. `organization`
|
|
11746
|
+
addresses the connection shared by every member of
|
|
11747
|
+
`organization_id`; `user_id` then identifies the member
|
|
11748
|
+
performing the request and must be an active member of the
|
|
11749
|
+
organization.
|
|
11750
|
+
example: user
|
|
11751
|
+
secret:
|
|
11752
|
+
type: string
|
|
11753
|
+
minLength: 1
|
|
11754
|
+
description: The API key secret to store for this integration.
|
|
11755
|
+
example: sk-1234567890abcdef
|
|
11756
|
+
connection_intent:
|
|
11757
|
+
type: string
|
|
11758
|
+
description: >-
|
|
11759
|
+
Send `reauthorize` with `connected_account_id` to
|
|
11760
|
+
reauthorize one exact connection. Omit it to use the
|
|
11761
|
+
compatibility connection; creating another connection lives
|
|
11762
|
+
on the POST route.
|
|
11763
|
+
example: reauthorize
|
|
11764
|
+
const: reauthorize
|
|
11765
|
+
connected_account_id:
|
|
11766
|
+
type: string
|
|
11767
|
+
pattern: ^data_installation_.+$
|
|
11768
|
+
description: >-
|
|
11769
|
+
The exact connected account to reauthorize. Required with
|
|
11770
|
+
`connection_intent: reauthorize`; it may also be sent on its
|
|
11771
|
+
own to reauthorize that connection.
|
|
11772
|
+
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11773
|
+
required:
|
|
11774
|
+
- user_id
|
|
11775
|
+
- secret
|
|
11776
|
+
additionalProperties: false
|
|
11898
11777
|
responses:
|
|
11899
11778
|
'200':
|
|
11900
11779
|
description: The resulting connected account after the upsert.
|
|
@@ -12019,213 +11898,84 @@ paths:
|
|
|
12019
11898
|
content:
|
|
12020
11899
|
application/json:
|
|
12021
11900
|
schema:
|
|
12022
|
-
|
|
12023
|
-
|
|
12024
|
-
|
|
12025
|
-
|
|
12026
|
-
|
|
12027
|
-
|
|
12028
|
-
|
|
12029
|
-
|
|
12030
|
-
|
|
12031
|
-
|
|
12032
|
-
|
|
12033
|
-
|
|
12034
|
-
|
|
12035
|
-
|
|
12036
|
-
|
|
12037
|
-
|
|
12038
|
-
|
|
12039
|
-
|
|
12040
|
-
|
|
12041
|
-
|
|
12042
|
-
|
|
12043
|
-
|
|
12044
|
-
|
|
12045
|
-
|
|
12046
|
-
|
|
12047
|
-
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12063
|
-
|
|
12064
|
-
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
|
|
12068
|
-
|
|
12069
|
-
|
|
12070
|
-
|
|
12071
|
-
|
|
12072
|
-
|
|
12073
|
-
|
|
12074
|
-
|
|
12075
|
-
|
|
12076
|
-
|
|
12077
|
-
|
|
12078
|
-
|
|
12079
|
-
|
|
12080
|
-
|
|
12081
|
-
-
|
|
12082
|
-
|
|
12083
|
-
|
|
12084
|
-
|
|
12085
|
-
|
|
12086
|
-
|
|
12087
|
-
|
|
12088
|
-
|
|
12089
|
-
|
|
12090
|
-
|
|
12091
|
-
|
|
12092
|
-
|
|
12093
|
-
|
|
12094
|
-
|
|
12095
|
-
|
|
12096
|
-
|
|
12097
|
-
|
|
12098
|
-
|
|
12099
|
-
|
|
12100
|
-
behalf of the organization; they must be an active
|
|
12101
|
-
member of the organization and do not become the owner
|
|
12102
|
-
of the resulting connected account.
|
|
12103
|
-
example: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12104
|
-
organization_id:
|
|
12105
|
-
type: string
|
|
12106
|
-
description: >-
|
|
12107
|
-
An organization ID to scope the authorization to a
|
|
12108
|
-
specific organization. Required when `connection_owner`
|
|
12109
|
-
is `organization`.
|
|
12110
|
-
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12111
|
-
connection_owner:
|
|
12112
|
-
type: string
|
|
12113
|
-
enum:
|
|
12114
|
-
- user
|
|
12115
|
-
- organization
|
|
12116
|
-
description: >-
|
|
12117
|
-
Who will own the connected account. `user` (the default)
|
|
12118
|
-
connects the user's own account. `organization` connects
|
|
12119
|
-
the organization's shared account and requires
|
|
12120
|
-
`organization_id`.
|
|
12121
|
-
example: user
|
|
12122
|
-
return_to:
|
|
12123
|
-
type: string
|
|
12124
|
-
format: uri
|
|
12125
|
-
description: The URL to redirect the user to after authorization.
|
|
12126
|
-
example: https://example.com/callback
|
|
12127
|
-
config:
|
|
12128
|
-
type: object
|
|
12129
|
-
additionalProperties:
|
|
12130
|
-
type: string
|
|
12131
|
-
description: >-
|
|
12132
|
-
Connect-time config values for the provider-declared
|
|
12133
|
-
`installation`-scope fields (e.g. a Zendesk
|
|
12134
|
-
`subdomain`), keyed by the config field. Only fields the
|
|
12135
|
-
provider declares may be supplied, and required fields
|
|
12136
|
-
must be provided unless already pinned on the
|
|
12137
|
-
integration.
|
|
12138
|
-
example: *ref_1
|
|
12139
|
-
connection_intent:
|
|
12140
|
-
type: string
|
|
12141
|
-
description: >-
|
|
12142
|
-
Create another connection. The first connection for an
|
|
12143
|
-
owner shape fills the compatibility slot; later
|
|
12144
|
-
connections are standard. Omit `connection_intent` to
|
|
12145
|
-
use the compatibility connection, or send `reauthorize`
|
|
12146
|
-
with `connected_account_id` to reauthorize one exact
|
|
12147
|
-
connection.
|
|
12148
|
-
example: add
|
|
12149
|
-
const: add
|
|
12150
|
-
required:
|
|
12151
|
-
- user_id
|
|
12152
|
-
- connection_intent
|
|
12153
|
-
additionalProperties: false
|
|
12154
|
-
- type: object
|
|
12155
|
-
properties:
|
|
12156
|
-
account_display_name:
|
|
12157
|
-
type:
|
|
12158
|
-
- string
|
|
12159
|
-
- 'null'
|
|
12160
|
-
description: >-
|
|
12161
|
-
A mutable, non-unique label. Omit to preserve an
|
|
12162
|
-
existing label; null clears it. Labels are never account
|
|
12163
|
-
identifiers.
|
|
12164
|
-
maxLength: 255
|
|
12165
|
-
example: Acme production
|
|
12166
|
-
user_id:
|
|
12167
|
-
type: string
|
|
12168
|
-
description: >-
|
|
12169
|
-
The ID of the user to authorize. When `connection_owner`
|
|
12170
|
-
is `organization`, this is the user authorizing on
|
|
12171
|
-
behalf of the organization; they must be an active
|
|
12172
|
-
member of the organization and do not become the owner
|
|
12173
|
-
of the resulting connected account.
|
|
12174
|
-
example: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12175
|
-
organization_id:
|
|
12176
|
-
type: string
|
|
12177
|
-
description: >-
|
|
12178
|
-
An organization ID to scope the authorization to a
|
|
12179
|
-
specific organization. Required when `connection_owner`
|
|
12180
|
-
is `organization`.
|
|
12181
|
-
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12182
|
-
connection_owner:
|
|
12183
|
-
type: string
|
|
12184
|
-
enum:
|
|
12185
|
-
- user
|
|
12186
|
-
- organization
|
|
12187
|
-
description: >-
|
|
12188
|
-
Who will own the connected account. `user` (the default)
|
|
12189
|
-
connects the user's own account. `organization` connects
|
|
12190
|
-
the organization's shared account and requires
|
|
12191
|
-
`organization_id`.
|
|
12192
|
-
example: user
|
|
12193
|
-
return_to:
|
|
12194
|
-
type: string
|
|
12195
|
-
format: uri
|
|
12196
|
-
description: The URL to redirect the user to after authorization.
|
|
12197
|
-
example: https://example.com/callback
|
|
12198
|
-
config:
|
|
12199
|
-
type: object
|
|
12200
|
-
additionalProperties:
|
|
12201
|
-
type: string
|
|
12202
|
-
description: >-
|
|
12203
|
-
Connect-time config values for the provider-declared
|
|
12204
|
-
`installation`-scope fields (e.g. a Zendesk
|
|
12205
|
-
`subdomain`), keyed by the config field. Only fields the
|
|
12206
|
-
provider declares may be supplied, and required fields
|
|
12207
|
-
must be provided unless already pinned on the
|
|
12208
|
-
integration.
|
|
12209
|
-
example: *ref_1
|
|
12210
|
-
connection_intent:
|
|
12211
|
-
type: string
|
|
12212
|
-
description: >-
|
|
12213
|
-
Reauthorize exactly the connection named by
|
|
12214
|
-
`connected_account_id`.
|
|
12215
|
-
example: reauthorize
|
|
12216
|
-
const: reauthorize
|
|
12217
|
-
connected_account_id:
|
|
12218
|
-
type: string
|
|
12219
|
-
pattern: ^data_installation_.+$
|
|
12220
|
-
description: >-
|
|
12221
|
-
The exact connected account to reauthorize. Required
|
|
12222
|
-
with `connection_intent: reauthorize`.
|
|
12223
|
-
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12224
|
-
required:
|
|
12225
|
-
- user_id
|
|
12226
|
-
- connection_intent
|
|
12227
|
-
- connected_account_id
|
|
12228
|
-
additionalProperties: false
|
|
11901
|
+
type: object
|
|
11902
|
+
properties:
|
|
11903
|
+
account_display_name:
|
|
11904
|
+
type:
|
|
11905
|
+
- string
|
|
11906
|
+
- 'null'
|
|
11907
|
+
description: >-
|
|
11908
|
+
A mutable, non-unique label. Omit to preserve an existing
|
|
11909
|
+
label; null clears it. Labels are never account identifiers.
|
|
11910
|
+
maxLength: 255
|
|
11911
|
+
example: Acme production
|
|
11912
|
+
user_id:
|
|
11913
|
+
type: string
|
|
11914
|
+
description: >-
|
|
11915
|
+
The ID of the user to authorize. When `connection_owner` is
|
|
11916
|
+
`organization`, this is the user authorizing on behalf of
|
|
11917
|
+
the organization; they must be an active member of the
|
|
11918
|
+
organization and do not become the owner of the resulting
|
|
11919
|
+
connected account.
|
|
11920
|
+
example: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11921
|
+
organization_id:
|
|
11922
|
+
type: string
|
|
11923
|
+
description: >-
|
|
11924
|
+
An organization ID to scope the authorization to a specific
|
|
11925
|
+
organization. Required when `connection_owner` is
|
|
11926
|
+
`organization`.
|
|
11927
|
+
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11928
|
+
connection_owner:
|
|
11929
|
+
type: string
|
|
11930
|
+
enum:
|
|
11931
|
+
- user
|
|
11932
|
+
- organization
|
|
11933
|
+
description: >-
|
|
11934
|
+
Who will own the connected account. `user` (the default)
|
|
11935
|
+
connects the user's own account. `organization` connects the
|
|
11936
|
+
organization's shared account and requires
|
|
11937
|
+
`organization_id`.
|
|
11938
|
+
example: user
|
|
11939
|
+
return_to:
|
|
11940
|
+
type: string
|
|
11941
|
+
format: uri
|
|
11942
|
+
description: The URL to redirect the user to after authorization.
|
|
11943
|
+
example: https://example.com/callback
|
|
11944
|
+
config:
|
|
11945
|
+
type: object
|
|
11946
|
+
additionalProperties:
|
|
11947
|
+
type: string
|
|
11948
|
+
description: >-
|
|
11949
|
+
Connect-time config values for the provider-declared
|
|
11950
|
+
`installation`-scope fields (e.g. a Zendesk `subdomain`),
|
|
11951
|
+
keyed by the config field. Only fields the provider declares
|
|
11952
|
+
may be supplied, and required fields must be provided unless
|
|
11953
|
+
already pinned on the integration.
|
|
11954
|
+
example:
|
|
11955
|
+
subdomain: acme
|
|
11956
|
+
connection_intent:
|
|
11957
|
+
type: string
|
|
11958
|
+
enum:
|
|
11959
|
+
- add
|
|
11960
|
+
- reauthorize
|
|
11961
|
+
description: >-
|
|
11962
|
+
Which connection the request targets. Omit it to use the
|
|
11963
|
+
compatibility connection. Send `add` to create another
|
|
11964
|
+
connection: the first connection for an owner shape fills
|
|
11965
|
+
the compatibility slot, and later connections are standard.
|
|
11966
|
+
Send `reauthorize` with `connected_account_id` to
|
|
11967
|
+
reauthorize one exact connection.
|
|
11968
|
+
example: add
|
|
11969
|
+
connected_account_id:
|
|
11970
|
+
type: string
|
|
11971
|
+
pattern: ^data_installation_.+$
|
|
11972
|
+
description: >-
|
|
11973
|
+
The exact connected account to reauthorize. Required with
|
|
11974
|
+
`connection_intent: reauthorize` and not accepted otherwise.
|
|
11975
|
+
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
11976
|
+
required:
|
|
11977
|
+
- user_id
|
|
11978
|
+
additionalProperties: false
|
|
12229
11979
|
responses:
|
|
12230
11980
|
'200':
|
|
12231
11981
|
description: OK
|
|
@@ -12629,245 +12379,94 @@ paths:
|
|
|
12629
12379
|
content:
|
|
12630
12380
|
application/json:
|
|
12631
12381
|
schema:
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12635
|
-
|
|
12636
|
-
|
|
12637
|
-
|
|
12638
|
-
|
|
12639
|
-
|
|
12640
|
-
|
|
12641
|
-
|
|
12642
|
-
|
|
12643
|
-
|
|
12644
|
-
|
|
12645
|
-
|
|
12646
|
-
|
|
12647
|
-
|
|
12648
|
-
|
|
12649
|
-
|
|
12650
|
-
|
|
12651
|
-
|
|
12652
|
-
|
|
12653
|
-
|
|
12654
|
-
|
|
12655
|
-
|
|
12656
|
-
|
|
12657
|
-
|
|
12658
|
-
|
|
12659
|
-
|
|
12660
|
-
|
|
12661
|
-
|
|
12662
|
-
|
|
12663
|
-
|
|
12664
|
-
|
|
12665
|
-
|
|
12666
|
-
|
|
12667
|
-
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
|
|
12671
|
-
|
|
12672
|
-
|
|
12673
|
-
|
|
12674
|
-
|
|
12675
|
-
|
|
12676
|
-
|
|
12677
|
-
|
|
12678
|
-
|
|
12679
|
-
|
|
12680
|
-
|
|
12681
|
-
|
|
12682
|
-
|
|
12683
|
-
|
|
12684
|
-
|
|
12685
|
-
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
|
|
12689
|
-
|
|
12690
|
-
|
|
12691
|
-
|
|
12692
|
-
|
|
12693
|
-
|
|
12694
|
-
|
|
12695
|
-
|
|
12696
|
-
|
|
12697
|
-
|
|
12698
|
-
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
|
|
12702
|
-
|
|
12703
|
-
|
|
12704
|
-
|
|
12705
|
-
|
|
12706
|
-
|
|
12707
|
-
|
|
12708
|
-
|
|
12709
|
-
|
|
12710
|
-
|
|
12711
|
-
|
|
12712
|
-
|
|
12713
|
-
|
|
12714
|
-
|
|
12715
|
-
|
|
12716
|
-
|
|
12717
|
-
|
|
12718
|
-
|
|
12719
|
-
|
|
12720
|
-
- 'null'
|
|
12721
|
-
minLength: 1
|
|
12722
|
-
description: >-
|
|
12723
|
-
A developer-attested provider account identifier, never
|
|
12724
|
-
inferred from a label or credential. Omit to preserve an
|
|
12725
|
-
existing identifier; null clears it.
|
|
12726
|
-
example: workspace_123
|
|
12727
|
-
user_id:
|
|
12728
|
-
type: string
|
|
12729
|
-
description: A [User](/reference/authkit/user) identifier.
|
|
12730
|
-
example: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12731
|
-
organization_id:
|
|
12732
|
-
type: string
|
|
12733
|
-
description: >-
|
|
12734
|
-
An [Organization](/reference/organization) identifier.
|
|
12735
|
-
Optional parameter to scope the connection to a specific
|
|
12736
|
-
organization. Required when `connection_owner` is
|
|
12737
|
-
`organization`.
|
|
12738
|
-
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12739
|
-
connection_owner:
|
|
12740
|
-
type: string
|
|
12741
|
-
enum:
|
|
12742
|
-
- user
|
|
12743
|
-
- organization
|
|
12744
|
-
description: >-
|
|
12745
|
-
Whose connection to create or rotate. `user` (the
|
|
12746
|
-
default) addresses the connection owned by `user_id`.
|
|
12747
|
-
`organization` addresses the connection shared by every
|
|
12748
|
-
member of `organization_id`; `user_id` then identifies
|
|
12749
|
-
the member performing the request and must be an active
|
|
12750
|
-
member of the organization.
|
|
12751
|
-
example: user
|
|
12752
|
-
client_id:
|
|
12753
|
-
type: string
|
|
12754
|
-
minLength: 1
|
|
12755
|
-
description: The OAuth client ID to store for this integration.
|
|
12756
|
-
example: 3MVG9...
|
|
12757
|
-
client_secret:
|
|
12758
|
-
type: string
|
|
12759
|
-
minLength: 1
|
|
12760
|
-
description: The OAuth client secret to store for this integration.
|
|
12761
|
-
example: shhh-secret
|
|
12762
|
-
config:
|
|
12763
|
-
type: object
|
|
12764
|
-
additionalProperties:
|
|
12765
|
-
type: string
|
|
12766
|
-
description: >-
|
|
12767
|
-
Provider-specific configuration values collected for
|
|
12768
|
-
this installation, keyed by the provider's config field
|
|
12769
|
-
descriptors.
|
|
12770
|
-
example: *ref_2
|
|
12771
|
-
connection_intent:
|
|
12772
|
-
type: string
|
|
12773
|
-
description: >-
|
|
12774
|
-
Reauthorize exactly the connection named by
|
|
12775
|
-
`connected_account_id`.
|
|
12776
|
-
example: reauthorize
|
|
12777
|
-
const: reauthorize
|
|
12778
|
-
connected_account_id:
|
|
12779
|
-
type: string
|
|
12780
|
-
pattern: ^data_installation_.+$
|
|
12781
|
-
description: >-
|
|
12782
|
-
The exact connected account to reauthorize. Required
|
|
12783
|
-
with `connection_intent: reauthorize`.
|
|
12784
|
-
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12785
|
-
required:
|
|
12786
|
-
- user_id
|
|
12787
|
-
- client_id
|
|
12788
|
-
- client_secret
|
|
12789
|
-
- connection_intent
|
|
12790
|
-
- connected_account_id
|
|
12791
|
-
additionalProperties: false
|
|
12792
|
-
- type: object
|
|
12793
|
-
properties:
|
|
12794
|
-
account_display_name:
|
|
12795
|
-
type:
|
|
12796
|
-
- string
|
|
12797
|
-
- 'null'
|
|
12798
|
-
description: >-
|
|
12799
|
-
A mutable, non-unique label. Omit to preserve an
|
|
12800
|
-
existing label; null clears it. Labels are never account
|
|
12801
|
-
identifiers.
|
|
12802
|
-
maxLength: 255
|
|
12803
|
-
example: Acme production
|
|
12804
|
-
account_identifier:
|
|
12805
|
-
type:
|
|
12806
|
-
- string
|
|
12807
|
-
- 'null'
|
|
12808
|
-
minLength: 1
|
|
12809
|
-
description: >-
|
|
12810
|
-
A developer-attested provider account identifier, never
|
|
12811
|
-
inferred from a label or credential. Omit to preserve an
|
|
12812
|
-
existing identifier; null clears it.
|
|
12813
|
-
example: workspace_123
|
|
12814
|
-
user_id:
|
|
12815
|
-
type: string
|
|
12816
|
-
description: A [User](/reference/authkit/user) identifier.
|
|
12817
|
-
example: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12818
|
-
organization_id:
|
|
12819
|
-
type: string
|
|
12820
|
-
description: >-
|
|
12821
|
-
An [Organization](/reference/organization) identifier.
|
|
12822
|
-
Optional parameter to scope the connection to a specific
|
|
12823
|
-
organization. Required when `connection_owner` is
|
|
12824
|
-
`organization`.
|
|
12825
|
-
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12826
|
-
connection_owner:
|
|
12827
|
-
type: string
|
|
12828
|
-
enum:
|
|
12829
|
-
- user
|
|
12830
|
-
- organization
|
|
12831
|
-
description: >-
|
|
12832
|
-
Whose connection to create or rotate. `user` (the
|
|
12833
|
-
default) addresses the connection owned by `user_id`.
|
|
12834
|
-
`organization` addresses the connection shared by every
|
|
12835
|
-
member of `organization_id`; `user_id` then identifies
|
|
12836
|
-
the member performing the request and must be an active
|
|
12837
|
-
member of the organization.
|
|
12838
|
-
example: user
|
|
12839
|
-
client_id:
|
|
12840
|
-
type: string
|
|
12841
|
-
minLength: 1
|
|
12842
|
-
description: The OAuth client ID to store for this integration.
|
|
12843
|
-
example: 3MVG9...
|
|
12844
|
-
client_secret:
|
|
12845
|
-
type: string
|
|
12846
|
-
minLength: 1
|
|
12847
|
-
description: The OAuth client secret to store for this integration.
|
|
12848
|
-
example: shhh-secret
|
|
12849
|
-
config:
|
|
12850
|
-
type: object
|
|
12851
|
-
additionalProperties:
|
|
12852
|
-
type: string
|
|
12853
|
-
description: >-
|
|
12854
|
-
Provider-specific configuration values collected for
|
|
12855
|
-
this installation, keyed by the provider's config field
|
|
12856
|
-
descriptors.
|
|
12857
|
-
example: *ref_2
|
|
12858
|
-
connected_account_id:
|
|
12859
|
-
type: string
|
|
12860
|
-
pattern: ^data_installation_.+$
|
|
12861
|
-
description: >-
|
|
12862
|
-
The exact connected account to reauthorize. The
|
|
12863
|
-
reauthorize intent may be omitted for compatibility.
|
|
12864
|
-
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12865
|
-
required:
|
|
12866
|
-
- user_id
|
|
12867
|
-
- client_id
|
|
12868
|
-
- client_secret
|
|
12869
|
-
- connected_account_id
|
|
12870
|
-
additionalProperties: false
|
|
12382
|
+
type: object
|
|
12383
|
+
properties:
|
|
12384
|
+
account_display_name:
|
|
12385
|
+
type:
|
|
12386
|
+
- string
|
|
12387
|
+
- 'null'
|
|
12388
|
+
description: >-
|
|
12389
|
+
A mutable, non-unique label. Omit to preserve an existing
|
|
12390
|
+
label; null clears it. Labels are never account identifiers.
|
|
12391
|
+
maxLength: 255
|
|
12392
|
+
example: Acme production
|
|
12393
|
+
account_identifier:
|
|
12394
|
+
type:
|
|
12395
|
+
- string
|
|
12396
|
+
- 'null'
|
|
12397
|
+
minLength: 1
|
|
12398
|
+
description: >-
|
|
12399
|
+
A developer-attested provider account identifier, never
|
|
12400
|
+
inferred from a label or credential. Omit to preserve an
|
|
12401
|
+
existing identifier; null clears it.
|
|
12402
|
+
example: workspace_123
|
|
12403
|
+
user_id:
|
|
12404
|
+
type: string
|
|
12405
|
+
description: A [User](/reference/authkit/user) identifier.
|
|
12406
|
+
example: user_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12407
|
+
organization_id:
|
|
12408
|
+
type: string
|
|
12409
|
+
description: >-
|
|
12410
|
+
An [Organization](/reference/organization) identifier.
|
|
12411
|
+
Optional parameter to scope the connection to a specific
|
|
12412
|
+
organization. Required when `connection_owner` is
|
|
12413
|
+
`organization`.
|
|
12414
|
+
example: org_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12415
|
+
connection_owner:
|
|
12416
|
+
type: string
|
|
12417
|
+
enum:
|
|
12418
|
+
- user
|
|
12419
|
+
- organization
|
|
12420
|
+
description: >-
|
|
12421
|
+
Whose connection to create or rotate. `user` (the default)
|
|
12422
|
+
addresses the connection owned by `user_id`. `organization`
|
|
12423
|
+
addresses the connection shared by every member of
|
|
12424
|
+
`organization_id`; `user_id` then identifies the member
|
|
12425
|
+
performing the request and must be an active member of the
|
|
12426
|
+
organization.
|
|
12427
|
+
example: user
|
|
12428
|
+
client_id:
|
|
12429
|
+
type: string
|
|
12430
|
+
minLength: 1
|
|
12431
|
+
description: The OAuth client ID to store for this integration.
|
|
12432
|
+
example: 3MVG9...
|
|
12433
|
+
client_secret:
|
|
12434
|
+
type: string
|
|
12435
|
+
minLength: 1
|
|
12436
|
+
description: The OAuth client secret to store for this integration.
|
|
12437
|
+
example: shhh-secret
|
|
12438
|
+
config:
|
|
12439
|
+
type: object
|
|
12440
|
+
additionalProperties:
|
|
12441
|
+
type: string
|
|
12442
|
+
description: >-
|
|
12443
|
+
Provider-specific configuration values collected for this
|
|
12444
|
+
installation, keyed by the provider's config field
|
|
12445
|
+
descriptors.
|
|
12446
|
+
example:
|
|
12447
|
+
salesforce_host: acme.my.salesforce.com
|
|
12448
|
+
connection_intent:
|
|
12449
|
+
type: string
|
|
12450
|
+
description: >-
|
|
12451
|
+
Send `reauthorize` with `connected_account_id` to
|
|
12452
|
+
reauthorize one exact connection. Omit it to use the
|
|
12453
|
+
compatibility connection; creating another connection lives
|
|
12454
|
+
on the POST route.
|
|
12455
|
+
example: reauthorize
|
|
12456
|
+
const: reauthorize
|
|
12457
|
+
connected_account_id:
|
|
12458
|
+
type: string
|
|
12459
|
+
pattern: ^data_installation_.+$
|
|
12460
|
+
description: >-
|
|
12461
|
+
The exact connected account to reauthorize. Required with
|
|
12462
|
+
`connection_intent: reauthorize`; it may also be sent on its
|
|
12463
|
+
own to reauthorize that connection.
|
|
12464
|
+
example: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
12465
|
+
required:
|
|
12466
|
+
- user_id
|
|
12467
|
+
- client_id
|
|
12468
|
+
- client_secret
|
|
12469
|
+
additionalProperties: false
|
|
12871
12470
|
responses:
|
|
12872
12471
|
'200':
|
|
12873
12472
|
description: The resulting connected account after the upsert.
|
|
@@ -15744,7 +15343,7 @@ paths:
|
|
|
15744
15343
|
summary: Set Retention
|
|
15745
15344
|
tags:
|
|
15746
15345
|
- audit-logs
|
|
15747
|
-
x-mutually-exclusive-body-groups: &
|
|
15346
|
+
x-mutually-exclusive-body-groups: &ref_4
|
|
15748
15347
|
retention:
|
|
15749
15348
|
optional: false
|
|
15750
15349
|
variants:
|
|
@@ -16338,26 +15937,169 @@ paths:
|
|
|
16338
15937
|
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
16339
15938
|
required:
|
|
16340
15939
|
- message
|
|
16341
|
-
summary: Get a group
|
|
15940
|
+
summary: Get a group
|
|
15941
|
+
tags:
|
|
15942
|
+
- groups
|
|
15943
|
+
patch:
|
|
15944
|
+
description: >-
|
|
15945
|
+
Update an existing group. Only the fields provided in the request body
|
|
15946
|
+
will be updated.
|
|
15947
|
+
operationId: GroupsController_update
|
|
15948
|
+
parameters:
|
|
15949
|
+
- name: organizationId
|
|
15950
|
+
required: true
|
|
15951
|
+
in: path
|
|
15952
|
+
description: The ID of the organization.
|
|
15953
|
+
schema:
|
|
15954
|
+
type: string
|
|
15955
|
+
example: org_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
15956
|
+
- name: groupId
|
|
15957
|
+
required: true
|
|
15958
|
+
in: path
|
|
15959
|
+
description: The ID of the group.
|
|
15960
|
+
schema:
|
|
15961
|
+
type: string
|
|
15962
|
+
example: group_01HXYZ123456789ABCDEFGHIJ
|
|
15963
|
+
requestBody:
|
|
15964
|
+
required: true
|
|
15965
|
+
content:
|
|
15966
|
+
application/json:
|
|
15967
|
+
schema:
|
|
15968
|
+
$ref: '#/components/schemas/UpdateGroupDto'
|
|
15969
|
+
responses:
|
|
15970
|
+
'200':
|
|
15971
|
+
description: OK
|
|
15972
|
+
content:
|
|
15973
|
+
application/json:
|
|
15974
|
+
schema:
|
|
15975
|
+
$ref: '#/components/schemas/Group'
|
|
15976
|
+
'400':
|
|
15977
|
+
description: Bad Request
|
|
15978
|
+
content:
|
|
15979
|
+
application/json:
|
|
15980
|
+
schema:
|
|
15981
|
+
type: object
|
|
15982
|
+
properties:
|
|
15983
|
+
code:
|
|
15984
|
+
type: string
|
|
15985
|
+
description: The error code identifying the type of error.
|
|
15986
|
+
example: bad_request
|
|
15987
|
+
const: bad_request
|
|
15988
|
+
message:
|
|
15989
|
+
type: string
|
|
15990
|
+
description: A human-readable description of the error.
|
|
15991
|
+
example: Request could not be processed.
|
|
15992
|
+
required:
|
|
15993
|
+
- code
|
|
15994
|
+
- message
|
|
15995
|
+
'403':
|
|
15996
|
+
description: Forbidden
|
|
15997
|
+
content:
|
|
15998
|
+
application/json:
|
|
15999
|
+
schema:
|
|
16000
|
+
type: object
|
|
16001
|
+
properties:
|
|
16002
|
+
message:
|
|
16003
|
+
type: string
|
|
16004
|
+
description: A human-readable description of the error.
|
|
16005
|
+
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
16006
|
+
required:
|
|
16007
|
+
- message
|
|
16008
|
+
'404':
|
|
16009
|
+
description: Not Found
|
|
16010
|
+
content:
|
|
16011
|
+
application/json:
|
|
16012
|
+
schema:
|
|
16013
|
+
type: object
|
|
16014
|
+
properties:
|
|
16015
|
+
message:
|
|
16016
|
+
type: string
|
|
16017
|
+
description: A human-readable description of the error.
|
|
16018
|
+
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
16019
|
+
required:
|
|
16020
|
+
- message
|
|
16021
|
+
'422':
|
|
16022
|
+
description: Unprocessable Entity
|
|
16023
|
+
content:
|
|
16024
|
+
application/json:
|
|
16025
|
+
schema:
|
|
16026
|
+
type: object
|
|
16027
|
+
properties:
|
|
16028
|
+
message:
|
|
16029
|
+
type: string
|
|
16030
|
+
description: A human-readable description of the error.
|
|
16031
|
+
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
16032
|
+
required:
|
|
16033
|
+
- message
|
|
16034
|
+
summary: Update a group
|
|
16035
|
+
tags:
|
|
16036
|
+
- groups
|
|
16037
|
+
delete:
|
|
16038
|
+
description: Delete a group from an organization.
|
|
16039
|
+
operationId: GroupsController_delete
|
|
16040
|
+
parameters:
|
|
16041
|
+
- name: organizationId
|
|
16042
|
+
required: true
|
|
16043
|
+
in: path
|
|
16044
|
+
description: The ID of the organization.
|
|
16045
|
+
schema:
|
|
16046
|
+
type: string
|
|
16047
|
+
example: org_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
16048
|
+
- name: groupId
|
|
16049
|
+
required: true
|
|
16050
|
+
in: path
|
|
16051
|
+
description: The ID of the group.
|
|
16052
|
+
schema:
|
|
16053
|
+
type: string
|
|
16054
|
+
example: group_01HXYZ123456789ABCDEFGHIJ
|
|
16055
|
+
responses:
|
|
16056
|
+
'204':
|
|
16057
|
+
description: No Content
|
|
16058
|
+
'403':
|
|
16059
|
+
description: Forbidden
|
|
16060
|
+
content:
|
|
16061
|
+
application/json:
|
|
16062
|
+
schema:
|
|
16063
|
+
type: object
|
|
16064
|
+
properties:
|
|
16065
|
+
message:
|
|
16066
|
+
type: string
|
|
16067
|
+
description: A human-readable description of the error.
|
|
16068
|
+
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
16069
|
+
required:
|
|
16070
|
+
- message
|
|
16071
|
+
'404':
|
|
16072
|
+
description: Not Found
|
|
16073
|
+
content:
|
|
16074
|
+
application/json:
|
|
16075
|
+
schema:
|
|
16076
|
+
type: object
|
|
16077
|
+
properties:
|
|
16078
|
+
message:
|
|
16079
|
+
type: string
|
|
16080
|
+
description: A human-readable description of the error.
|
|
16081
|
+
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
16082
|
+
required:
|
|
16083
|
+
- message
|
|
16084
|
+
summary: Delete a group
|
|
16342
16085
|
tags:
|
|
16343
16086
|
- groups
|
|
16344
|
-
|
|
16345
|
-
|
|
16346
|
-
|
|
16347
|
-
|
|
16348
|
-
operationId: GroupsController_update
|
|
16087
|
+
/organizations/{organizationId}/groups/{groupId}/organization-memberships:
|
|
16088
|
+
post:
|
|
16089
|
+
description: Add an organization membership to a group.
|
|
16090
|
+
operationId: GroupMembershipsController_addMember
|
|
16349
16091
|
parameters:
|
|
16350
16092
|
- name: organizationId
|
|
16351
16093
|
required: true
|
|
16352
16094
|
in: path
|
|
16353
|
-
description:
|
|
16095
|
+
description: Unique identifier of the Organization.
|
|
16354
16096
|
schema:
|
|
16355
16097
|
type: string
|
|
16356
16098
|
example: org_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
16357
16099
|
- name: groupId
|
|
16358
16100
|
required: true
|
|
16359
16101
|
in: path
|
|
16360
|
-
description:
|
|
16102
|
+
description: Unique identifier of the Group.
|
|
16361
16103
|
schema:
|
|
16362
16104
|
type: string
|
|
16363
16105
|
example: group_01HXYZ123456789ABCDEFGHIJ
|
|
@@ -16366,7 +16108,7 @@ paths:
|
|
|
16366
16108
|
content:
|
|
16367
16109
|
application/json:
|
|
16368
16110
|
schema:
|
|
16369
|
-
$ref: '#/components/schemas/
|
|
16111
|
+
$ref: '#/components/schemas/CreateGroupMembershipDto'
|
|
16370
16112
|
responses:
|
|
16371
16113
|
'200':
|
|
16372
16114
|
description: OK
|
|
@@ -16384,8 +16126,8 @@ paths:
|
|
|
16384
16126
|
code:
|
|
16385
16127
|
type: string
|
|
16386
16128
|
description: The error code identifying the type of error.
|
|
16387
|
-
example:
|
|
16388
|
-
const:
|
|
16129
|
+
example: group_membership_limit_exceeded
|
|
16130
|
+
const: group_membership_limit_exceeded
|
|
16389
16131
|
message:
|
|
16390
16132
|
type: string
|
|
16391
16133
|
description: A human-readable description of the error.
|
|
@@ -16432,30 +16174,81 @@ paths:
|
|
|
16432
16174
|
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
16433
16175
|
required:
|
|
16434
16176
|
- message
|
|
16435
|
-
summary:
|
|
16177
|
+
summary: Add a member to a Group
|
|
16436
16178
|
tags:
|
|
16437
16179
|
- groups
|
|
16438
|
-
|
|
16439
|
-
description:
|
|
16440
|
-
operationId:
|
|
16180
|
+
get:
|
|
16181
|
+
description: Get a list of organization memberships in a group.
|
|
16182
|
+
operationId: GroupMembershipsController_listMembers
|
|
16441
16183
|
parameters:
|
|
16442
16184
|
- name: organizationId
|
|
16443
16185
|
required: true
|
|
16444
16186
|
in: path
|
|
16445
|
-
description:
|
|
16187
|
+
description: Unique identifier of the Organization.
|
|
16446
16188
|
schema:
|
|
16447
16189
|
type: string
|
|
16448
16190
|
example: org_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
16449
16191
|
- name: groupId
|
|
16450
16192
|
required: true
|
|
16451
16193
|
in: path
|
|
16452
|
-
description:
|
|
16194
|
+
description: Unique identifier of the Group.
|
|
16453
16195
|
schema:
|
|
16454
16196
|
type: string
|
|
16455
16197
|
example: group_01HXYZ123456789ABCDEFGHIJ
|
|
16198
|
+
- name: before
|
|
16199
|
+
required: false
|
|
16200
|
+
in: query
|
|
16201
|
+
description: >-
|
|
16202
|
+
An object ID that defines your place in the list. When the ID is not
|
|
16203
|
+
present, you are at the end of the list. For example, if you make a
|
|
16204
|
+
list request and receive 100 objects, ending with `"obj_123"`, your
|
|
16205
|
+
subsequent call can include `before="obj_123"` to fetch a new batch
|
|
16206
|
+
of objects before `"obj_123"`.
|
|
16207
|
+
schema:
|
|
16208
|
+
example: xxx_01HXYZ123456789ABCDEFGHIJ
|
|
16209
|
+
type: string
|
|
16210
|
+
- name: after
|
|
16211
|
+
required: false
|
|
16212
|
+
in: query
|
|
16213
|
+
description: >-
|
|
16214
|
+
An object ID that defines your place in the list. When the ID is not
|
|
16215
|
+
present, you are at the end of the list. For example, if you make a
|
|
16216
|
+
list request and receive 100 objects, ending with `"obj_123"`, your
|
|
16217
|
+
subsequent call can include `after="obj_123"` to fetch a new batch
|
|
16218
|
+
of objects after `"obj_123"`.
|
|
16219
|
+
schema:
|
|
16220
|
+
example: xxx_01HXYZ987654321KJIHGFEDCBA
|
|
16221
|
+
type: string
|
|
16222
|
+
- name: limit
|
|
16223
|
+
required: false
|
|
16224
|
+
in: query
|
|
16225
|
+
description: >-
|
|
16226
|
+
Upper limit on the number of objects to return, between `1` and
|
|
16227
|
+
`100`.
|
|
16228
|
+
schema:
|
|
16229
|
+
minimum: 1
|
|
16230
|
+
maximum: 100
|
|
16231
|
+
default: 10
|
|
16232
|
+
example: 10
|
|
16233
|
+
type: integer
|
|
16234
|
+
- name: order
|
|
16235
|
+
required: false
|
|
16236
|
+
in: query
|
|
16237
|
+
description: >-
|
|
16238
|
+
Order the results by the creation time. Supported values are `"asc"`
|
|
16239
|
+
(ascending), `"desc"` (descending), and `"normal"` (descending with
|
|
16240
|
+
reversed cursor semantics where `before` fetches older records and
|
|
16241
|
+
`after` fetches newer records). Defaults to `normal`.
|
|
16242
|
+
schema:
|
|
16243
|
+
$ref: '#/components/schemas/PaginationOrder'
|
|
16456
16244
|
responses:
|
|
16457
|
-
'
|
|
16458
|
-
description:
|
|
16245
|
+
'200':
|
|
16246
|
+
description: OK
|
|
16247
|
+
content:
|
|
16248
|
+
application/json:
|
|
16249
|
+
schema:
|
|
16250
|
+
$ref: >-
|
|
16251
|
+
#/components/schemas/UserlandUserOrganizationMembershipBaseList
|
|
16459
16252
|
'403':
|
|
16460
16253
|
description: Forbidden
|
|
16461
16254
|
content:
|
|
@@ -16482,13 +16275,14 @@ paths:
|
|
|
16482
16275
|
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
16483
16276
|
required:
|
|
16484
16277
|
- message
|
|
16485
|
-
summary:
|
|
16278
|
+
summary: List Group members
|
|
16486
16279
|
tags:
|
|
16487
16280
|
- groups
|
|
16488
|
-
|
|
16489
|
-
|
|
16490
|
-
|
|
16491
|
-
|
|
16281
|
+
put:
|
|
16282
|
+
description: >-
|
|
16283
|
+
Replace the members of a group with the given organization memberships.
|
|
16284
|
+
Members not in the list are removed. An empty list removes every member.
|
|
16285
|
+
operationId: GroupMembershipsController_replaceMembers
|
|
16492
16286
|
parameters:
|
|
16493
16287
|
- name: organizationId
|
|
16494
16288
|
required: true
|
|
@@ -16509,14 +16303,10 @@ paths:
|
|
|
16509
16303
|
content:
|
|
16510
16304
|
application/json:
|
|
16511
16305
|
schema:
|
|
16512
|
-
$ref: '#/components/schemas/
|
|
16306
|
+
$ref: '#/components/schemas/ReplaceGroupMembershipsDto'
|
|
16513
16307
|
responses:
|
|
16514
|
-
'
|
|
16515
|
-
description:
|
|
16516
|
-
content:
|
|
16517
|
-
application/json:
|
|
16518
|
-
schema:
|
|
16519
|
-
$ref: '#/components/schemas/Group'
|
|
16308
|
+
'204':
|
|
16309
|
+
description: No Content
|
|
16520
16310
|
'400':
|
|
16521
16311
|
description: Bad Request
|
|
16522
16312
|
content:
|
|
@@ -16575,108 +16365,7 @@ paths:
|
|
|
16575
16365
|
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
16576
16366
|
required:
|
|
16577
16367
|
- message
|
|
16578
|
-
summary:
|
|
16579
|
-
tags:
|
|
16580
|
-
- groups
|
|
16581
|
-
get:
|
|
16582
|
-
description: Get a list of organization memberships in a group.
|
|
16583
|
-
operationId: GroupMembershipsController_listMembers
|
|
16584
|
-
parameters:
|
|
16585
|
-
- name: organizationId
|
|
16586
|
-
required: true
|
|
16587
|
-
in: path
|
|
16588
|
-
description: Unique identifier of the Organization.
|
|
16589
|
-
schema:
|
|
16590
|
-
type: string
|
|
16591
|
-
example: org_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
16592
|
-
- name: groupId
|
|
16593
|
-
required: true
|
|
16594
|
-
in: path
|
|
16595
|
-
description: Unique identifier of the Group.
|
|
16596
|
-
schema:
|
|
16597
|
-
type: string
|
|
16598
|
-
example: group_01HXYZ123456789ABCDEFGHIJ
|
|
16599
|
-
- name: before
|
|
16600
|
-
required: false
|
|
16601
|
-
in: query
|
|
16602
|
-
description: >-
|
|
16603
|
-
An object ID that defines your place in the list. When the ID is not
|
|
16604
|
-
present, you are at the end of the list. For example, if you make a
|
|
16605
|
-
list request and receive 100 objects, ending with `"obj_123"`, your
|
|
16606
|
-
subsequent call can include `before="obj_123"` to fetch a new batch
|
|
16607
|
-
of objects before `"obj_123"`.
|
|
16608
|
-
schema:
|
|
16609
|
-
example: xxx_01HXYZ123456789ABCDEFGHIJ
|
|
16610
|
-
type: string
|
|
16611
|
-
- name: after
|
|
16612
|
-
required: false
|
|
16613
|
-
in: query
|
|
16614
|
-
description: >-
|
|
16615
|
-
An object ID that defines your place in the list. When the ID is not
|
|
16616
|
-
present, you are at the end of the list. For example, if you make a
|
|
16617
|
-
list request and receive 100 objects, ending with `"obj_123"`, your
|
|
16618
|
-
subsequent call can include `after="obj_123"` to fetch a new batch
|
|
16619
|
-
of objects after `"obj_123"`.
|
|
16620
|
-
schema:
|
|
16621
|
-
example: xxx_01HXYZ987654321KJIHGFEDCBA
|
|
16622
|
-
type: string
|
|
16623
|
-
- name: limit
|
|
16624
|
-
required: false
|
|
16625
|
-
in: query
|
|
16626
|
-
description: >-
|
|
16627
|
-
Upper limit on the number of objects to return, between `1` and
|
|
16628
|
-
`100`.
|
|
16629
|
-
schema:
|
|
16630
|
-
minimum: 1
|
|
16631
|
-
maximum: 100
|
|
16632
|
-
default: 10
|
|
16633
|
-
example: 10
|
|
16634
|
-
type: integer
|
|
16635
|
-
- name: order
|
|
16636
|
-
required: false
|
|
16637
|
-
in: query
|
|
16638
|
-
description: >-
|
|
16639
|
-
Order the results by the creation time. Supported values are `"asc"`
|
|
16640
|
-
(ascending), `"desc"` (descending), and `"normal"` (descending with
|
|
16641
|
-
reversed cursor semantics where `before` fetches older records and
|
|
16642
|
-
`after` fetches newer records). Defaults to `normal`.
|
|
16643
|
-
schema:
|
|
16644
|
-
$ref: '#/components/schemas/PaginationOrder'
|
|
16645
|
-
responses:
|
|
16646
|
-
'200':
|
|
16647
|
-
description: OK
|
|
16648
|
-
content:
|
|
16649
|
-
application/json:
|
|
16650
|
-
schema:
|
|
16651
|
-
$ref: >-
|
|
16652
|
-
#/components/schemas/UserlandUserOrganizationMembershipBaseList
|
|
16653
|
-
'403':
|
|
16654
|
-
description: Forbidden
|
|
16655
|
-
content:
|
|
16656
|
-
application/json:
|
|
16657
|
-
schema:
|
|
16658
|
-
type: object
|
|
16659
|
-
properties:
|
|
16660
|
-
message:
|
|
16661
|
-
type: string
|
|
16662
|
-
description: A human-readable description of the error.
|
|
16663
|
-
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
16664
|
-
required:
|
|
16665
|
-
- message
|
|
16666
|
-
'404':
|
|
16667
|
-
description: Not Found
|
|
16668
|
-
content:
|
|
16669
|
-
application/json:
|
|
16670
|
-
schema:
|
|
16671
|
-
type: object
|
|
16672
|
-
properties:
|
|
16673
|
-
message:
|
|
16674
|
-
type: string
|
|
16675
|
-
description: A human-readable description of the error.
|
|
16676
|
-
example: 'Organization not found: ''org_01EHQMYV6MBK39QC5PZXHY59C3''.'
|
|
16677
|
-
required:
|
|
16678
|
-
- message
|
|
16679
|
-
summary: List Group members
|
|
16368
|
+
summary: Replace Group members
|
|
16680
16369
|
tags:
|
|
16681
16370
|
- groups
|
|
16682
16371
|
/organizations/{organizationId}/groups/{groupId}/organization-memberships/{omId}:
|
|
@@ -17547,7 +17236,7 @@ paths:
|
|
|
17547
17236
|
credentialsType: oauth2
|
|
17548
17237
|
createdAt: '2024-01-15T10:30:00.000Z'
|
|
17549
17238
|
updatedAt: '2024-01-15T10:30:00.000Z'
|
|
17550
|
-
connected_account: &
|
|
17239
|
+
connected_account: &ref_1
|
|
17551
17240
|
object: connected_account
|
|
17552
17241
|
id: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
17553
17242
|
user_id: null
|
|
@@ -17574,7 +17263,7 @@ paths:
|
|
|
17574
17263
|
createdAt: '2024-01-16T14:20:00.000Z'
|
|
17575
17264
|
updatedAt: '2024-01-16T14:20:00.000Z'
|
|
17576
17265
|
connected_accounts:
|
|
17577
|
-
- *
|
|
17266
|
+
- *ref_1
|
|
17578
17267
|
'401':
|
|
17579
17268
|
description: The request is missing a valid API key.
|
|
17580
17269
|
'404':
|
|
@@ -22656,7 +22345,7 @@ paths:
|
|
|
22656
22345
|
summary: Create an organization membership
|
|
22657
22346
|
tags:
|
|
22658
22347
|
- user-management.organization-membership
|
|
22659
|
-
x-mutually-exclusive-body-groups: &
|
|
22348
|
+
x-mutually-exclusive-body-groups: &ref_18
|
|
22660
22349
|
role:
|
|
22661
22350
|
optional: true
|
|
22662
22351
|
variants:
|
|
@@ -22862,7 +22551,7 @@ paths:
|
|
|
22862
22551
|
summary: Update an organization membership
|
|
22863
22552
|
tags:
|
|
22864
22553
|
- user-management.organization-membership
|
|
22865
|
-
x-mutually-exclusive-body-groups: &
|
|
22554
|
+
x-mutually-exclusive-body-groups: &ref_19
|
|
22866
22555
|
role:
|
|
22867
22556
|
optional: true
|
|
22868
22557
|
variants:
|
|
@@ -24201,7 +23890,7 @@ paths:
|
|
|
24201
23890
|
summary: Create a user
|
|
24202
23891
|
tags:
|
|
24203
23892
|
- user-management.users
|
|
24204
|
-
x-mutually-exclusive-body-groups: &
|
|
23893
|
+
x-mutually-exclusive-body-groups: &ref_20
|
|
24205
23894
|
password:
|
|
24206
23895
|
optional: true
|
|
24207
23896
|
variants:
|
|
@@ -24513,7 +24202,7 @@ paths:
|
|
|
24513
24202
|
summary: Update a user
|
|
24514
24203
|
tags:
|
|
24515
24204
|
- user-management.users
|
|
24516
|
-
x-mutually-exclusive-body-groups: &
|
|
24205
|
+
x-mutually-exclusive-body-groups: &ref_24
|
|
24517
24206
|
password:
|
|
24518
24207
|
optional: true
|
|
24519
24208
|
variants:
|
|
@@ -28552,7 +28241,7 @@ components:
|
|
|
28552
28241
|
example: An application for managing user access
|
|
28553
28242
|
scopes:
|
|
28554
28243
|
description: The OAuth scopes granted to the application.
|
|
28555
|
-
example: &
|
|
28244
|
+
example: &ref_2
|
|
28556
28245
|
- openid
|
|
28557
28246
|
- profile
|
|
28558
28247
|
- email
|
|
@@ -28626,7 +28315,7 @@ components:
|
|
|
28626
28315
|
example: An application for managing user access
|
|
28627
28316
|
scopes:
|
|
28628
28317
|
description: The OAuth scopes granted to the application.
|
|
28629
|
-
example: *
|
|
28318
|
+
example: *ref_2
|
|
28630
28319
|
type:
|
|
28631
28320
|
- array
|
|
28632
28321
|
- 'null'
|
|
@@ -28712,7 +28401,7 @@ components:
|
|
|
28712
28401
|
owner: user_01GBTCQ2
|
|
28713
28402
|
maxProperties: 50
|
|
28714
28403
|
additionalProperties: false
|
|
28715
|
-
patternProperties: &
|
|
28404
|
+
patternProperties: &ref_3
|
|
28716
28405
|
^[a-zA-Z0-9_-]{0,40}$:
|
|
28717
28406
|
anyOf:
|
|
28718
28407
|
- type: string
|
|
@@ -28744,7 +28433,7 @@ components:
|
|
|
28744
28433
|
owner: user_01GBTCQ2
|
|
28745
28434
|
maxProperties: 50
|
|
28746
28435
|
additionalProperties: false
|
|
28747
|
-
patternProperties: *
|
|
28436
|
+
patternProperties: *ref_3
|
|
28748
28437
|
required:
|
|
28749
28438
|
- id
|
|
28750
28439
|
- type
|
|
@@ -28791,7 +28480,7 @@ components:
|
|
|
28791
28480
|
owner: user_01GBTCQ2
|
|
28792
28481
|
maxProperties: 50
|
|
28793
28482
|
additionalProperties: false
|
|
28794
|
-
patternProperties: *
|
|
28483
|
+
patternProperties: *ref_3
|
|
28795
28484
|
version:
|
|
28796
28485
|
type: integer
|
|
28797
28486
|
description: What schema version the event is associated with.
|
|
@@ -28873,7 +28562,7 @@ components:
|
|
|
28873
28562
|
- range_start
|
|
28874
28563
|
- range_end
|
|
28875
28564
|
UpdateAuditLogsRetentionDto:
|
|
28876
|
-
x-mutually-exclusive-body-groups: *
|
|
28565
|
+
x-mutually-exclusive-body-groups: *ref_4
|
|
28877
28566
|
oneOf:
|
|
28878
28567
|
- type: object
|
|
28879
28568
|
properties:
|
|
@@ -29058,7 +28747,7 @@ components:
|
|
|
29058
28747
|
x-exclude-from-lint: true
|
|
29059
28748
|
required:
|
|
29060
28749
|
- resource_id
|
|
29061
|
-
x-mutually-exclusive-body-groups: *
|
|
28750
|
+
x-mutually-exclusive-body-groups: *ref_5
|
|
29062
28751
|
CreateGroupRoleAssignmentDto:
|
|
29063
28752
|
type: object
|
|
29064
28753
|
properties:
|
|
@@ -29226,7 +28915,7 @@ components:
|
|
|
29226
28915
|
x-exclude-from-lint: true
|
|
29227
28916
|
required:
|
|
29228
28917
|
- resource_id
|
|
29229
|
-
x-mutually-exclusive-body-groups: *
|
|
28918
|
+
x-mutually-exclusive-body-groups: *ref_6
|
|
29230
28919
|
RemoveRoleDto:
|
|
29231
28920
|
allOf:
|
|
29232
28921
|
- type: object
|
|
@@ -29285,7 +28974,7 @@ components:
|
|
|
29285
28974
|
x-exclude-from-lint: true
|
|
29286
28975
|
required:
|
|
29287
28976
|
- resource_id
|
|
29288
|
-
x-mutually-exclusive-body-groups: *
|
|
28977
|
+
x-mutually-exclusive-body-groups: *ref_7
|
|
29289
28978
|
SetRolePermissionsDto:
|
|
29290
28979
|
type: object
|
|
29291
28980
|
properties:
|
|
@@ -29635,7 +29324,7 @@ components:
|
|
|
29635
29324
|
x-exclude-from-lint: true
|
|
29636
29325
|
required:
|
|
29637
29326
|
- parent_resource_id
|
|
29638
|
-
x-mutually-exclusive-body-groups: *
|
|
29327
|
+
x-mutually-exclusive-body-groups: *ref_8
|
|
29639
29328
|
CreateConnectionKeyPairDto:
|
|
29640
29329
|
type: object
|
|
29641
29330
|
properties:
|
|
@@ -29753,7 +29442,7 @@ components:
|
|
|
29753
29442
|
default: true
|
|
29754
29443
|
token_authentication_method:
|
|
29755
29444
|
type: string
|
|
29756
|
-
enum: &
|
|
29445
|
+
enum: &ref_10
|
|
29757
29446
|
- client_secret_post
|
|
29758
29447
|
- client_secret_basic
|
|
29759
29448
|
- private_key_jwt
|
|
@@ -29769,7 +29458,7 @@ components:
|
|
|
29769
29458
|
$ref: '#/components/schemas/CreateConnectionKeyPairDto'
|
|
29770
29459
|
id_token_signature_algorithm:
|
|
29771
29460
|
type: string
|
|
29772
|
-
enum: &
|
|
29461
|
+
enum: &ref_11
|
|
29773
29462
|
- ES256
|
|
29774
29463
|
- ES384
|
|
29775
29464
|
- ES512
|
|
@@ -29925,7 +29614,7 @@ components:
|
|
|
29925
29614
|
x-exclude-from-lint: true
|
|
29926
29615
|
required:
|
|
29927
29616
|
- saml_options
|
|
29928
|
-
x-mutually-exclusive-body-groups: *
|
|
29617
|
+
x-mutually-exclusive-body-groups: *ref_9
|
|
29929
29618
|
PatchConnectionSamlOptionsDto:
|
|
29930
29619
|
type: object
|
|
29931
29620
|
properties:
|
|
@@ -30001,7 +29690,7 @@ components:
|
|
|
30001
29690
|
example: true
|
|
30002
29691
|
token_authentication_method:
|
|
30003
29692
|
type: string
|
|
30004
|
-
enum: *
|
|
29693
|
+
enum: *ref_10
|
|
30005
29694
|
description: >-
|
|
30006
29695
|
The token-endpoint client authentication method. Moving to
|
|
30007
29696
|
`private_key_jwt` generates a signing key pair if the connection has
|
|
@@ -30011,7 +29700,7 @@ components:
|
|
|
30011
29700
|
example: client_secret_basic
|
|
30012
29701
|
id_token_signature_algorithm:
|
|
30013
29702
|
type: string
|
|
30014
|
-
enum: *
|
|
29703
|
+
enum: *ref_11
|
|
30015
29704
|
description: The ID-token signing algorithm.
|
|
30016
29705
|
example: RS256
|
|
30017
29706
|
fetch_user_info:
|
|
@@ -30155,7 +29844,7 @@ components:
|
|
|
30155
29844
|
x-exclude-from-lint: true
|
|
30156
29845
|
required:
|
|
30157
29846
|
- saml_options
|
|
30158
|
-
x-mutually-exclusive-body-groups: *
|
|
29847
|
+
x-mutually-exclusive-body-groups: *ref_12
|
|
30159
29848
|
CreateCorsOriginDto:
|
|
30160
29849
|
type: object
|
|
30161
29850
|
properties:
|
|
@@ -30174,6 +29863,22 @@ components:
|
|
|
30174
29863
|
example: om_01HXYZ123456789ABCDEFGHIJ
|
|
30175
29864
|
required:
|
|
30176
29865
|
- organization_membership_id
|
|
29866
|
+
ReplaceGroupMembershipsDto:
|
|
29867
|
+
type: object
|
|
29868
|
+
properties:
|
|
29869
|
+
organization_membership_ids:
|
|
29870
|
+
maxItems: 500
|
|
29871
|
+
description: >-
|
|
29872
|
+
The complete list of organization membership IDs the group should
|
|
29873
|
+
contain, up to 500. Any current members not included are removed
|
|
29874
|
+
from the group.
|
|
29875
|
+
example:
|
|
29876
|
+
- om_01HXYZ123456789ABCDEFGHIJ
|
|
29877
|
+
type: array
|
|
29878
|
+
items:
|
|
29879
|
+
type: string
|
|
29880
|
+
required:
|
|
29881
|
+
- organization_membership_ids
|
|
30177
29882
|
CreateGroupDto:
|
|
30178
29883
|
type: object
|
|
30179
29884
|
properties:
|
|
@@ -30337,11 +30042,11 @@ components:
|
|
|
30337
30042
|
type:
|
|
30338
30043
|
- object
|
|
30339
30044
|
- 'null'
|
|
30340
|
-
additionalProperties: &
|
|
30045
|
+
additionalProperties: &ref_13
|
|
30341
30046
|
type: string
|
|
30342
30047
|
maxLength: 600
|
|
30343
30048
|
maxProperties: 50
|
|
30344
|
-
example: &
|
|
30049
|
+
example: &ref_14
|
|
30345
30050
|
tier: diamond
|
|
30346
30051
|
description: >-
|
|
30347
30052
|
Object containing [metadata](/authkit/metadata) key/value pairs
|
|
@@ -30396,9 +30101,9 @@ components:
|
|
|
30396
30101
|
type:
|
|
30397
30102
|
- object
|
|
30398
30103
|
- 'null'
|
|
30399
|
-
additionalProperties: *
|
|
30104
|
+
additionalProperties: *ref_13
|
|
30400
30105
|
maxProperties: 50
|
|
30401
|
-
example: *
|
|
30106
|
+
example: *ref_14
|
|
30402
30107
|
description: >-
|
|
30403
30108
|
Object containing [metadata](/authkit/metadata) key/value pairs
|
|
30404
30109
|
associated with the Organization.
|
|
@@ -30532,7 +30237,7 @@ components:
|
|
|
30532
30237
|
example: application/x-www-form-urlencoded
|
|
30533
30238
|
authenticate_via:
|
|
30534
30239
|
type: string
|
|
30535
|
-
enum: &
|
|
30240
|
+
enum: &ref_15
|
|
30536
30241
|
- request_body
|
|
30537
30242
|
- basic_auth_header
|
|
30538
30243
|
description: >-
|
|
@@ -30700,7 +30405,7 @@ components:
|
|
|
30700
30405
|
example: application/x-www-form-urlencoded
|
|
30701
30406
|
authenticate_via:
|
|
30702
30407
|
type: string
|
|
30703
|
-
enum: *
|
|
30408
|
+
enum: *ref_15
|
|
30704
30409
|
description: >-
|
|
30705
30410
|
How client credentials are sent when exchanging authorization codes
|
|
30706
30411
|
and refreshing tokens.
|
|
@@ -30781,7 +30486,7 @@ components:
|
|
|
30781
30486
|
format: date-time
|
|
30782
30487
|
scopes:
|
|
30783
30488
|
description: The OAuth scopes granted for this connection.
|
|
30784
|
-
example: &
|
|
30489
|
+
example: &ref_16
|
|
30785
30490
|
- repo
|
|
30786
30491
|
- user:email
|
|
30787
30492
|
type: array
|
|
@@ -30789,7 +30494,7 @@ components:
|
|
|
30789
30494
|
type: string
|
|
30790
30495
|
state:
|
|
30791
30496
|
type: string
|
|
30792
|
-
enum: &
|
|
30497
|
+
enum: &ref_17
|
|
30793
30498
|
- connected
|
|
30794
30499
|
- needs_reauthorization
|
|
30795
30500
|
description: >-
|
|
@@ -30847,13 +30552,13 @@ components:
|
|
|
30847
30552
|
format: date-time
|
|
30848
30553
|
scopes:
|
|
30849
30554
|
description: The OAuth scopes granted for this connection.
|
|
30850
|
-
example: *
|
|
30555
|
+
example: *ref_16
|
|
30851
30556
|
type: array
|
|
30852
30557
|
items:
|
|
30853
30558
|
type: string
|
|
30854
30559
|
state:
|
|
30855
30560
|
type: string
|
|
30856
|
-
enum: *
|
|
30561
|
+
enum: *ref_17
|
|
30857
30562
|
description: >-
|
|
30858
30563
|
Explicitly set the state of the connected account. When omitted, the
|
|
30859
30564
|
state is derived from the token combination provided.
|
|
@@ -30902,13 +30607,13 @@ components:
|
|
|
30902
30607
|
format: date-time
|
|
30903
30608
|
scopes:
|
|
30904
30609
|
description: The OAuth scopes granted for this connection.
|
|
30905
|
-
example: *
|
|
30610
|
+
example: *ref_16
|
|
30906
30611
|
type: array
|
|
30907
30612
|
items:
|
|
30908
30613
|
type: string
|
|
30909
30614
|
state:
|
|
30910
30615
|
type: string
|
|
30911
|
-
enum: *
|
|
30616
|
+
enum: *ref_17
|
|
30912
30617
|
description: >-
|
|
30913
30618
|
Explicitly set the state of the connected account. When omitted, the
|
|
30914
30619
|
state is derived from the token combination provided.
|
|
@@ -30955,13 +30660,13 @@ components:
|
|
|
30955
30660
|
format: date-time
|
|
30956
30661
|
scopes:
|
|
30957
30662
|
description: The OAuth scopes granted for this connection.
|
|
30958
|
-
example: *
|
|
30663
|
+
example: *ref_16
|
|
30959
30664
|
type: array
|
|
30960
30665
|
items:
|
|
30961
30666
|
type: string
|
|
30962
30667
|
state:
|
|
30963
30668
|
type: string
|
|
30964
|
-
enum: *
|
|
30669
|
+
enum: *ref_17
|
|
30965
30670
|
description: >-
|
|
30966
30671
|
Explicitly set the state of the connected account. When omitted, the
|
|
30967
30672
|
state is derived from the token combination provided.
|
|
@@ -31600,9 +31305,9 @@ components:
|
|
|
31600
31305
|
x-exclude-from-lint: true
|
|
31601
31306
|
required:
|
|
31602
31307
|
- role_slug
|
|
31603
|
-
x-mutually-exclusive-body-groups: *
|
|
31308
|
+
x-mutually-exclusive-body-groups: *ref_18
|
|
31604
31309
|
UpdateUserlandUserOrganizationMembershipDto:
|
|
31605
|
-
x-mutually-exclusive-body-groups: *
|
|
31310
|
+
x-mutually-exclusive-body-groups: *ref_19
|
|
31606
31311
|
oneOf:
|
|
31607
31312
|
- type: object
|
|
31608
31313
|
not:
|
|
@@ -31726,9 +31431,9 @@ components:
|
|
|
31726
31431
|
type:
|
|
31727
31432
|
- object
|
|
31728
31433
|
- 'null'
|
|
31729
|
-
additionalProperties: *
|
|
31434
|
+
additionalProperties: *ref_13
|
|
31730
31435
|
maxProperties: 50
|
|
31731
|
-
example: &
|
|
31436
|
+
example: &ref_21
|
|
31732
31437
|
timezone: America/New_York
|
|
31733
31438
|
description: >-
|
|
31734
31439
|
Object containing metadata key/value pairs associated with the
|
|
@@ -31827,7 +31532,7 @@ components:
|
|
|
31827
31532
|
example: $2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy
|
|
31828
31533
|
password_hash_type:
|
|
31829
31534
|
type: string
|
|
31830
|
-
enum: &
|
|
31535
|
+
enum: &ref_22
|
|
31831
31536
|
- bcrypt
|
|
31832
31537
|
- firebase-scrypt
|
|
31833
31538
|
- ssha
|
|
@@ -31842,7 +31547,7 @@ components:
|
|
|
31842
31547
|
example: bcrypt
|
|
31843
31548
|
password_salt_position:
|
|
31844
31549
|
type: string
|
|
31845
|
-
enum: &
|
|
31550
|
+
enum: &ref_23
|
|
31846
31551
|
- prefix
|
|
31847
31552
|
- suffix
|
|
31848
31553
|
description: >-
|
|
@@ -31863,7 +31568,7 @@ components:
|
|
|
31863
31568
|
x-exclude-from-lint: true
|
|
31864
31569
|
required:
|
|
31865
31570
|
- password
|
|
31866
|
-
x-mutually-exclusive-body-groups: *
|
|
31571
|
+
x-mutually-exclusive-body-groups: *ref_20
|
|
31867
31572
|
UpdateUserlandUserDto:
|
|
31868
31573
|
allOf:
|
|
31869
31574
|
- type: object
|
|
@@ -31893,9 +31598,9 @@ components:
|
|
|
31893
31598
|
type:
|
|
31894
31599
|
- object
|
|
31895
31600
|
- 'null'
|
|
31896
|
-
additionalProperties: *
|
|
31601
|
+
additionalProperties: *ref_13
|
|
31897
31602
|
maxProperties: 50
|
|
31898
|
-
example: *
|
|
31603
|
+
example: *ref_21
|
|
31899
31604
|
description: >-
|
|
31900
31605
|
Object containing metadata key/value pairs associated with the
|
|
31901
31606
|
user.
|
|
@@ -31977,7 +31682,7 @@ components:
|
|
|
31977
31682
|
example: $2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy
|
|
31978
31683
|
password_hash_type:
|
|
31979
31684
|
type: string
|
|
31980
|
-
enum: *
|
|
31685
|
+
enum: *ref_22
|
|
31981
31686
|
description: >-
|
|
31982
31687
|
The algorithm originally used to hash the password, used
|
|
31983
31688
|
when providing a `password_hash`. Required with
|
|
@@ -31985,7 +31690,7 @@ components:
|
|
|
31985
31690
|
example: bcrypt
|
|
31986
31691
|
password_salt_position:
|
|
31987
31692
|
type: string
|
|
31988
|
-
enum: *
|
|
31693
|
+
enum: *ref_23
|
|
31989
31694
|
description: >-
|
|
31990
31695
|
The position of the salt relative to the password when the
|
|
31991
31696
|
`password_hash` digest was computed: `prefix` for `hash(salt
|
|
@@ -32004,7 +31709,7 @@ components:
|
|
|
32004
31709
|
x-exclude-from-lint: true
|
|
32005
31710
|
required:
|
|
32006
31711
|
- password
|
|
32007
|
-
x-mutually-exclusive-body-groups: *
|
|
31712
|
+
x-mutually-exclusive-body-groups: *ref_24
|
|
32008
31713
|
SendVerificationEmailDto:
|
|
32009
31714
|
type: object
|
|
32010
31715
|
properties:
|
|
@@ -32410,7 +32115,7 @@ components:
|
|
|
32410
32115
|
description: The events that the Webhook Endpoint is subscribed to.
|
|
32411
32116
|
items:
|
|
32412
32117
|
type: string
|
|
32413
|
-
enum: &
|
|
32118
|
+
enum: &ref_25
|
|
32414
32119
|
- agent.blueprint.created
|
|
32415
32120
|
- agent.blueprint.deleted
|
|
32416
32121
|
- agent.blueprint.updated
|
|
@@ -32541,7 +32246,7 @@ components:
|
|
|
32541
32246
|
description: The events that the Webhook Endpoint is subscribed to.
|
|
32542
32247
|
items:
|
|
32543
32248
|
type: string
|
|
32544
|
-
enum: *
|
|
32249
|
+
enum: *ref_25
|
|
32545
32250
|
example:
|
|
32546
32251
|
- user.created
|
|
32547
32252
|
- dsync.user.created
|
|
@@ -36298,7 +36003,7 @@ components:
|
|
|
36298
36003
|
description: >-
|
|
36299
36004
|
An object containing the custom attribute mapping for the Directory
|
|
36300
36005
|
Provider.
|
|
36301
|
-
example: &
|
|
36006
|
+
example: &ref_32
|
|
36302
36007
|
department: Engineering
|
|
36303
36008
|
job_title: Software Engineer
|
|
36304
36009
|
role:
|
|
@@ -36560,7 +36265,7 @@ components:
|
|
|
36560
36265
|
type: object
|
|
36561
36266
|
additionalProperties: {}
|
|
36562
36267
|
description: The event payload.
|
|
36563
|
-
example: &
|
|
36268
|
+
example: &ref_26
|
|
36564
36269
|
id: directory_user_01E1JG7J09H96KYP8HM9B0G5SJ
|
|
36565
36270
|
directory_id: directory_01ECAZ4NV9QMV47GW873HDCX74
|
|
36566
36271
|
organization_id: org_01EZTR6WYX1A0DSE2CYMGXQ24Y
|
|
@@ -36595,11 +36300,11 @@ components:
|
|
|
36595
36300
|
- data
|
|
36596
36301
|
- created_at
|
|
36597
36302
|
description: An event emitted by WorkOS.
|
|
36598
|
-
example: &
|
|
36303
|
+
example: &ref_37
|
|
36599
36304
|
object: event
|
|
36600
36305
|
id: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
36601
36306
|
event: dsync.user.created
|
|
36602
|
-
data: *
|
|
36307
|
+
data: *ref_26
|
|
36603
36308
|
created_at: '2021-06-25T19:07:33.155Z'
|
|
36604
36309
|
context: {}
|
|
36605
36310
|
- oneOf:
|
|
@@ -36799,7 +36504,7 @@ components:
|
|
|
36799
36504
|
description: >-
|
|
36800
36505
|
Permission slugs forming the ceiling on what sessions
|
|
36801
36506
|
minted from this blueprint may do.
|
|
36802
|
-
example: &
|
|
36507
|
+
example: &ref_27
|
|
36803
36508
|
- crm:read
|
|
36804
36509
|
- email:send
|
|
36805
36510
|
invocable_by:
|
|
@@ -36812,7 +36517,7 @@ components:
|
|
|
36812
36517
|
description: >-
|
|
36813
36518
|
Role slugs whose members may mint user-delegated
|
|
36814
36519
|
sessions from this blueprint.
|
|
36815
|
-
example: &
|
|
36520
|
+
example: &ref_28
|
|
36816
36521
|
- manager
|
|
36817
36522
|
organization_ids:
|
|
36818
36523
|
type: array
|
|
@@ -36821,7 +36526,7 @@ components:
|
|
|
36821
36526
|
description: >-
|
|
36822
36527
|
Organizations in which autonomous sessions may be
|
|
36823
36528
|
minted from this blueprint.
|
|
36824
|
-
example: &
|
|
36529
|
+
example: &ref_29
|
|
36825
36530
|
- org_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
36826
36531
|
required:
|
|
36827
36532
|
- role_slugs
|
|
@@ -36841,7 +36546,7 @@ components:
|
|
|
36841
36546
|
Instance types that may be minted from this
|
|
36842
36547
|
blueprint: `delegated` (acting for a user) and/or
|
|
36843
36548
|
`autonomous` (acting as the agent itself).
|
|
36844
|
-
example: &
|
|
36549
|
+
example: &ref_30
|
|
36845
36550
|
- delegated
|
|
36846
36551
|
- autonomous
|
|
36847
36552
|
required:
|
|
@@ -37001,7 +36706,7 @@ components:
|
|
|
37001
36706
|
description: >-
|
|
37002
36707
|
Permission slugs forming the ceiling on what sessions
|
|
37003
36708
|
minted from this blueprint may do.
|
|
37004
|
-
example: *
|
|
36709
|
+
example: *ref_27
|
|
37005
36710
|
invocable_by:
|
|
37006
36711
|
type: object
|
|
37007
36712
|
properties:
|
|
@@ -37012,7 +36717,7 @@ components:
|
|
|
37012
36717
|
description: >-
|
|
37013
36718
|
Role slugs whose members may mint user-delegated
|
|
37014
36719
|
sessions from this blueprint.
|
|
37015
|
-
example: *
|
|
36720
|
+
example: *ref_28
|
|
37016
36721
|
organization_ids:
|
|
37017
36722
|
type: array
|
|
37018
36723
|
items:
|
|
@@ -37020,7 +36725,7 @@ components:
|
|
|
37020
36725
|
description: >-
|
|
37021
36726
|
Organizations in which autonomous sessions may be
|
|
37022
36727
|
minted from this blueprint.
|
|
37023
|
-
example: *
|
|
36728
|
+
example: *ref_29
|
|
37024
36729
|
required:
|
|
37025
36730
|
- role_slugs
|
|
37026
36731
|
- organization_ids
|
|
@@ -37039,7 +36744,7 @@ components:
|
|
|
37039
36744
|
Instance types that may be minted from this
|
|
37040
36745
|
blueprint: `delegated` (acting for a user) and/or
|
|
37041
36746
|
`autonomous` (acting as the agent itself).
|
|
37042
|
-
example: *
|
|
36747
|
+
example: *ref_30
|
|
37043
36748
|
required:
|
|
37044
36749
|
- instance_types
|
|
37045
36750
|
description: How sessions may be minted from this blueprint.
|
|
@@ -38075,7 +37780,7 @@ components:
|
|
|
38075
37780
|
items:
|
|
38076
37781
|
type: string
|
|
38077
37782
|
description: The permissions granted to the API key.
|
|
38078
|
-
example: &
|
|
37783
|
+
example: &ref_31
|
|
38079
37784
|
- users:read
|
|
38080
37785
|
- users:write
|
|
38081
37786
|
created_at:
|
|
@@ -38201,7 +37906,7 @@ components:
|
|
|
38201
37906
|
items:
|
|
38202
37907
|
type: string
|
|
38203
37908
|
description: The permissions granted to the API key.
|
|
38204
|
-
example: *
|
|
37909
|
+
example: *ref_31
|
|
38205
37910
|
created_at:
|
|
38206
37911
|
type: string
|
|
38207
37912
|
description: The timestamp when the API key was created.
|
|
@@ -38325,7 +38030,7 @@ components:
|
|
|
38325
38030
|
items:
|
|
38326
38031
|
type: string
|
|
38327
38032
|
description: The permissions granted to the API key.
|
|
38328
|
-
example: *
|
|
38033
|
+
example: *ref_31
|
|
38329
38034
|
created_at:
|
|
38330
38035
|
type: string
|
|
38331
38036
|
description: The timestamp when the API key was created.
|
|
@@ -41192,7 +40897,7 @@ components:
|
|
|
41192
40897
|
description: >-
|
|
41193
40898
|
An object containing the custom attribute mapping for
|
|
41194
40899
|
the Directory Provider.
|
|
41195
|
-
example: *
|
|
40900
|
+
example: *ref_32
|
|
41196
40901
|
role:
|
|
41197
40902
|
$ref: '#/components/schemas/SlimRole'
|
|
41198
40903
|
roles:
|
|
@@ -41382,7 +41087,7 @@ components:
|
|
|
41382
41087
|
description: >-
|
|
41383
41088
|
Labels assigned to the Feature Flag for categorizing and
|
|
41384
41089
|
filtering.
|
|
41385
|
-
example: &
|
|
41090
|
+
example: &ref_33
|
|
41386
41091
|
- reports
|
|
41387
41092
|
enabled:
|
|
41388
41093
|
type: boolean
|
|
@@ -41543,7 +41248,7 @@ components:
|
|
|
41543
41248
|
description: >-
|
|
41544
41249
|
Labels assigned to the Feature Flag for categorizing and
|
|
41545
41250
|
filtering.
|
|
41546
|
-
example: *
|
|
41251
|
+
example: *ref_33
|
|
41547
41252
|
enabled:
|
|
41548
41253
|
type: boolean
|
|
41549
41254
|
description: >-
|
|
@@ -41703,7 +41408,7 @@ components:
|
|
|
41703
41408
|
description: >-
|
|
41704
41409
|
Labels assigned to the Feature Flag for categorizing and
|
|
41705
41410
|
filtering.
|
|
41706
|
-
example: *
|
|
41411
|
+
example: *ref_33
|
|
41707
41412
|
enabled:
|
|
41708
41413
|
type: boolean
|
|
41709
41414
|
description: >-
|
|
@@ -41983,7 +41688,7 @@ components:
|
|
|
41983
41688
|
description: >-
|
|
41984
41689
|
Labels assigned to the Feature Flag for categorizing and
|
|
41985
41690
|
filtering.
|
|
41986
|
-
example: *
|
|
41691
|
+
example: *ref_33
|
|
41987
41692
|
enabled:
|
|
41988
41693
|
type: boolean
|
|
41989
41694
|
description: >-
|
|
@@ -42999,7 +42704,7 @@ components:
|
|
|
42999
42704
|
description: >-
|
|
43000
42705
|
Object containing [metadata](/authkit/metadata)
|
|
43001
42706
|
key/value pairs associated with the Organization.
|
|
43002
|
-
example: &
|
|
42707
|
+
example: &ref_34
|
|
43003
42708
|
tier: diamond
|
|
43004
42709
|
propertyNames:
|
|
43005
42710
|
maxLength: 40
|
|
@@ -43149,7 +42854,7 @@ components:
|
|
|
43149
42854
|
description: >-
|
|
43150
42855
|
Object containing [metadata](/authkit/metadata)
|
|
43151
42856
|
key/value pairs associated with the Organization.
|
|
43152
|
-
example: *
|
|
42857
|
+
example: *ref_34
|
|
43153
42858
|
propertyNames:
|
|
43154
42859
|
maxLength: 40
|
|
43155
42860
|
maxProperties: 50
|
|
@@ -43976,7 +43681,7 @@ components:
|
|
|
43976
43681
|
items:
|
|
43977
43682
|
type: string
|
|
43978
43683
|
description: The permissions granted by the role.
|
|
43979
|
-
example: &
|
|
43684
|
+
example: &ref_35
|
|
43980
43685
|
- users:read
|
|
43981
43686
|
- users:write
|
|
43982
43687
|
created_at:
|
|
@@ -44060,7 +43765,7 @@ components:
|
|
|
44060
43765
|
items:
|
|
44061
43766
|
type: string
|
|
44062
43767
|
description: The permissions granted by the role.
|
|
44063
|
-
example: *
|
|
43768
|
+
example: *ref_35
|
|
44064
43769
|
created_at:
|
|
44065
43770
|
format: date-time
|
|
44066
43771
|
type: string
|
|
@@ -44142,7 +43847,7 @@ components:
|
|
|
44142
43847
|
items:
|
|
44143
43848
|
type: string
|
|
44144
43849
|
description: The permissions granted by the role.
|
|
44145
|
-
example: *
|
|
43850
|
+
example: *ref_35
|
|
44146
43851
|
created_at:
|
|
44147
43852
|
format: date-time
|
|
44148
43853
|
type: string
|
|
@@ -44279,7 +43984,7 @@ components:
|
|
|
44279
43984
|
description: >-
|
|
44280
43985
|
Object containing [metadata](/authkit/metadata)
|
|
44281
43986
|
key/value pairs associated with the Organization.
|
|
44282
|
-
example: *
|
|
43987
|
+
example: *ref_34
|
|
44283
43988
|
propertyNames:
|
|
44284
43989
|
maxLength: 40
|
|
44285
43990
|
maxProperties: 50
|
|
@@ -45479,7 +45184,7 @@ components:
|
|
|
45479
45184
|
items:
|
|
45480
45185
|
type: string
|
|
45481
45186
|
description: The permissions granted by the role.
|
|
45482
|
-
example: &
|
|
45187
|
+
example: &ref_36
|
|
45483
45188
|
- users:read
|
|
45484
45189
|
- users:write
|
|
45485
45190
|
created_at:
|
|
@@ -45545,7 +45250,7 @@ components:
|
|
|
45545
45250
|
items:
|
|
45546
45251
|
type: string
|
|
45547
45252
|
description: The permissions granted by the role.
|
|
45548
|
-
example: *
|
|
45253
|
+
example: *ref_36
|
|
45549
45254
|
created_at:
|
|
45550
45255
|
format: date-time
|
|
45551
45256
|
type: string
|
|
@@ -45609,7 +45314,7 @@ components:
|
|
|
45609
45314
|
items:
|
|
45610
45315
|
type: string
|
|
45611
45316
|
description: The permissions granted by the role.
|
|
45612
|
-
example: *
|
|
45317
|
+
example: *ref_36
|
|
45613
45318
|
created_at:
|
|
45614
45319
|
format: date-time
|
|
45615
45320
|
type: string
|
|
@@ -46811,7 +46516,7 @@ components:
|
|
|
46811
46516
|
- data
|
|
46812
46517
|
- created_at
|
|
46813
46518
|
- object
|
|
46814
|
-
example: *
|
|
46519
|
+
example: *ref_37
|
|
46815
46520
|
description: An event emitted by WorkOS.
|
|
46816
46521
|
EventList:
|
|
46817
46522
|
type: object
|
|
@@ -46846,7 +46551,7 @@ components:
|
|
|
46846
46551
|
example:
|
|
46847
46552
|
object: list
|
|
46848
46553
|
data:
|
|
46849
|
-
- *
|
|
46554
|
+
- *ref_37
|
|
46850
46555
|
list_metadata:
|
|
46851
46556
|
after: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
46852
46557
|
JwtTemplate:
|
|
@@ -48341,7 +48046,7 @@ components:
|
|
|
48341
48046
|
integration or organization pins require reconnecting or
|
|
48342
48047
|
explicitly rebinding the connection. Defaults are live and can
|
|
48343
48048
|
differ from a cached token's audience until refresh or re-mint.
|
|
48344
|
-
example: &
|
|
48049
|
+
example: &ref_38
|
|
48345
48050
|
account: myorg-myaccount
|
|
48346
48051
|
required:
|
|
48347
48052
|
- object
|
|
@@ -48386,7 +48091,7 @@ components:
|
|
|
48386
48091
|
integration or organization pins require reconnecting or
|
|
48387
48092
|
explicitly rebinding the connection. Defaults are live and can
|
|
48388
48093
|
differ from a cached token's audience until refresh or re-mint.
|
|
48389
|
-
example: *
|
|
48094
|
+
example: *ref_38
|
|
48390
48095
|
required:
|
|
48391
48096
|
- object
|
|
48392
48097
|
- auth_method
|
|
@@ -48463,7 +48168,7 @@ components:
|
|
|
48463
48168
|
integration or organization pins require reconnecting or
|
|
48464
48169
|
explicitly rebinding the connection. Defaults are live and can
|
|
48465
48170
|
differ from a cached token's audience until refresh or re-mint.
|
|
48466
|
-
example: *
|
|
48171
|
+
example: *ref_38
|
|
48467
48172
|
required:
|
|
48468
48173
|
- object
|
|
48469
48174
|
- auth_method
|
|
@@ -48894,7 +48599,7 @@ components:
|
|
|
48894
48599
|
items:
|
|
48895
48600
|
type: string
|
|
48896
48601
|
description: The OAuth scopes granted for this connection.
|
|
48897
|
-
example: &
|
|
48602
|
+
example: &ref_39
|
|
48898
48603
|
- repo
|
|
48899
48604
|
- user:email
|
|
48900
48605
|
auth_method:
|
|
@@ -48944,7 +48649,7 @@ components:
|
|
|
48944
48649
|
`installation` scope, excluding secret and undeclared
|
|
48945
48650
|
fields. Returned for every authentication method;
|
|
48946
48651
|
empty when no stored values can be disclosed.
|
|
48947
|
-
example: &
|
|
48652
|
+
example: &ref_40
|
|
48948
48653
|
instance_url: https://example.my.salesforce.com
|
|
48949
48654
|
state:
|
|
48950
48655
|
type: string
|
|
@@ -49106,7 +48811,7 @@ components:
|
|
|
49106
48811
|
items:
|
|
49107
48812
|
type: string
|
|
49108
48813
|
description: The OAuth scopes granted for this connection.
|
|
49109
|
-
example: *
|
|
48814
|
+
example: *ref_39
|
|
49110
48815
|
auth_method:
|
|
49111
48816
|
type: string
|
|
49112
48817
|
enum:
|
|
@@ -49153,7 +48858,7 @@ components:
|
|
|
49153
48858
|
`installation` scope, excluding secret and undeclared
|
|
49154
48859
|
fields. Returned for every authentication method; empty
|
|
49155
48860
|
when no stored values can be disclosed.
|
|
49156
|
-
example: *
|
|
48861
|
+
example: *ref_40
|
|
49157
48862
|
state:
|
|
49158
48863
|
type: string
|
|
49159
48864
|
enum:
|