@workos/openapi-spec 0.137.0 → 0.138.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 +333 -734
- package/dist/types.d.ts +12 -258
- 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:
|
|
@@ -17547,7 +17146,7 @@ paths:
|
|
|
17547
17146
|
credentialsType: oauth2
|
|
17548
17147
|
createdAt: '2024-01-15T10:30:00.000Z'
|
|
17549
17148
|
updatedAt: '2024-01-15T10:30:00.000Z'
|
|
17550
|
-
connected_account: &
|
|
17149
|
+
connected_account: &ref_1
|
|
17551
17150
|
object: connected_account
|
|
17552
17151
|
id: data_installation_01EHZNVPK3SFK441A1RGBFSHRT
|
|
17553
17152
|
user_id: null
|
|
@@ -17574,7 +17173,7 @@ paths:
|
|
|
17574
17173
|
createdAt: '2024-01-16T14:20:00.000Z'
|
|
17575
17174
|
updatedAt: '2024-01-16T14:20:00.000Z'
|
|
17576
17175
|
connected_accounts:
|
|
17577
|
-
- *
|
|
17176
|
+
- *ref_1
|
|
17578
17177
|
'401':
|
|
17579
17178
|
description: The request is missing a valid API key.
|
|
17580
17179
|
'404':
|
|
@@ -22656,7 +22255,7 @@ paths:
|
|
|
22656
22255
|
summary: Create an organization membership
|
|
22657
22256
|
tags:
|
|
22658
22257
|
- user-management.organization-membership
|
|
22659
|
-
x-mutually-exclusive-body-groups: &
|
|
22258
|
+
x-mutually-exclusive-body-groups: &ref_18
|
|
22660
22259
|
role:
|
|
22661
22260
|
optional: true
|
|
22662
22261
|
variants:
|
|
@@ -22862,7 +22461,7 @@ paths:
|
|
|
22862
22461
|
summary: Update an organization membership
|
|
22863
22462
|
tags:
|
|
22864
22463
|
- user-management.organization-membership
|
|
22865
|
-
x-mutually-exclusive-body-groups: &
|
|
22464
|
+
x-mutually-exclusive-body-groups: &ref_19
|
|
22866
22465
|
role:
|
|
22867
22466
|
optional: true
|
|
22868
22467
|
variants:
|
|
@@ -24201,7 +23800,7 @@ paths:
|
|
|
24201
23800
|
summary: Create a user
|
|
24202
23801
|
tags:
|
|
24203
23802
|
- user-management.users
|
|
24204
|
-
x-mutually-exclusive-body-groups: &
|
|
23803
|
+
x-mutually-exclusive-body-groups: &ref_20
|
|
24205
23804
|
password:
|
|
24206
23805
|
optional: true
|
|
24207
23806
|
variants:
|
|
@@ -24513,7 +24112,7 @@ paths:
|
|
|
24513
24112
|
summary: Update a user
|
|
24514
24113
|
tags:
|
|
24515
24114
|
- user-management.users
|
|
24516
|
-
x-mutually-exclusive-body-groups: &
|
|
24115
|
+
x-mutually-exclusive-body-groups: &ref_24
|
|
24517
24116
|
password:
|
|
24518
24117
|
optional: true
|
|
24519
24118
|
variants:
|
|
@@ -28552,7 +28151,7 @@ components:
|
|
|
28552
28151
|
example: An application for managing user access
|
|
28553
28152
|
scopes:
|
|
28554
28153
|
description: The OAuth scopes granted to the application.
|
|
28555
|
-
example: &
|
|
28154
|
+
example: &ref_2
|
|
28556
28155
|
- openid
|
|
28557
28156
|
- profile
|
|
28558
28157
|
- email
|
|
@@ -28626,7 +28225,7 @@ components:
|
|
|
28626
28225
|
example: An application for managing user access
|
|
28627
28226
|
scopes:
|
|
28628
28227
|
description: The OAuth scopes granted to the application.
|
|
28629
|
-
example: *
|
|
28228
|
+
example: *ref_2
|
|
28630
28229
|
type:
|
|
28631
28230
|
- array
|
|
28632
28231
|
- 'null'
|
|
@@ -28712,7 +28311,7 @@ components:
|
|
|
28712
28311
|
owner: user_01GBTCQ2
|
|
28713
28312
|
maxProperties: 50
|
|
28714
28313
|
additionalProperties: false
|
|
28715
|
-
patternProperties: &
|
|
28314
|
+
patternProperties: &ref_3
|
|
28716
28315
|
^[a-zA-Z0-9_-]{0,40}$:
|
|
28717
28316
|
anyOf:
|
|
28718
28317
|
- type: string
|
|
@@ -28744,7 +28343,7 @@ components:
|
|
|
28744
28343
|
owner: user_01GBTCQ2
|
|
28745
28344
|
maxProperties: 50
|
|
28746
28345
|
additionalProperties: false
|
|
28747
|
-
patternProperties: *
|
|
28346
|
+
patternProperties: *ref_3
|
|
28748
28347
|
required:
|
|
28749
28348
|
- id
|
|
28750
28349
|
- type
|
|
@@ -28791,7 +28390,7 @@ components:
|
|
|
28791
28390
|
owner: user_01GBTCQ2
|
|
28792
28391
|
maxProperties: 50
|
|
28793
28392
|
additionalProperties: false
|
|
28794
|
-
patternProperties: *
|
|
28393
|
+
patternProperties: *ref_3
|
|
28795
28394
|
version:
|
|
28796
28395
|
type: integer
|
|
28797
28396
|
description: What schema version the event is associated with.
|
|
@@ -28873,7 +28472,7 @@ components:
|
|
|
28873
28472
|
- range_start
|
|
28874
28473
|
- range_end
|
|
28875
28474
|
UpdateAuditLogsRetentionDto:
|
|
28876
|
-
x-mutually-exclusive-body-groups: *
|
|
28475
|
+
x-mutually-exclusive-body-groups: *ref_4
|
|
28877
28476
|
oneOf:
|
|
28878
28477
|
- type: object
|
|
28879
28478
|
properties:
|
|
@@ -29058,7 +28657,7 @@ components:
|
|
|
29058
28657
|
x-exclude-from-lint: true
|
|
29059
28658
|
required:
|
|
29060
28659
|
- resource_id
|
|
29061
|
-
x-mutually-exclusive-body-groups: *
|
|
28660
|
+
x-mutually-exclusive-body-groups: *ref_5
|
|
29062
28661
|
CreateGroupRoleAssignmentDto:
|
|
29063
28662
|
type: object
|
|
29064
28663
|
properties:
|
|
@@ -29226,7 +28825,7 @@ components:
|
|
|
29226
28825
|
x-exclude-from-lint: true
|
|
29227
28826
|
required:
|
|
29228
28827
|
- resource_id
|
|
29229
|
-
x-mutually-exclusive-body-groups: *
|
|
28828
|
+
x-mutually-exclusive-body-groups: *ref_6
|
|
29230
28829
|
RemoveRoleDto:
|
|
29231
28830
|
allOf:
|
|
29232
28831
|
- type: object
|
|
@@ -29285,7 +28884,7 @@ components:
|
|
|
29285
28884
|
x-exclude-from-lint: true
|
|
29286
28885
|
required:
|
|
29287
28886
|
- resource_id
|
|
29288
|
-
x-mutually-exclusive-body-groups: *
|
|
28887
|
+
x-mutually-exclusive-body-groups: *ref_7
|
|
29289
28888
|
SetRolePermissionsDto:
|
|
29290
28889
|
type: object
|
|
29291
28890
|
properties:
|
|
@@ -29635,7 +29234,7 @@ components:
|
|
|
29635
29234
|
x-exclude-from-lint: true
|
|
29636
29235
|
required:
|
|
29637
29236
|
- parent_resource_id
|
|
29638
|
-
x-mutually-exclusive-body-groups: *
|
|
29237
|
+
x-mutually-exclusive-body-groups: *ref_8
|
|
29639
29238
|
CreateConnectionKeyPairDto:
|
|
29640
29239
|
type: object
|
|
29641
29240
|
properties:
|
|
@@ -29753,7 +29352,7 @@ components:
|
|
|
29753
29352
|
default: true
|
|
29754
29353
|
token_authentication_method:
|
|
29755
29354
|
type: string
|
|
29756
|
-
enum: &
|
|
29355
|
+
enum: &ref_10
|
|
29757
29356
|
- client_secret_post
|
|
29758
29357
|
- client_secret_basic
|
|
29759
29358
|
- private_key_jwt
|
|
@@ -29769,7 +29368,7 @@ components:
|
|
|
29769
29368
|
$ref: '#/components/schemas/CreateConnectionKeyPairDto'
|
|
29770
29369
|
id_token_signature_algorithm:
|
|
29771
29370
|
type: string
|
|
29772
|
-
enum: &
|
|
29371
|
+
enum: &ref_11
|
|
29773
29372
|
- ES256
|
|
29774
29373
|
- ES384
|
|
29775
29374
|
- ES512
|
|
@@ -29925,7 +29524,7 @@ components:
|
|
|
29925
29524
|
x-exclude-from-lint: true
|
|
29926
29525
|
required:
|
|
29927
29526
|
- saml_options
|
|
29928
|
-
x-mutually-exclusive-body-groups: *
|
|
29527
|
+
x-mutually-exclusive-body-groups: *ref_9
|
|
29929
29528
|
PatchConnectionSamlOptionsDto:
|
|
29930
29529
|
type: object
|
|
29931
29530
|
properties:
|
|
@@ -30001,7 +29600,7 @@ components:
|
|
|
30001
29600
|
example: true
|
|
30002
29601
|
token_authentication_method:
|
|
30003
29602
|
type: string
|
|
30004
|
-
enum: *
|
|
29603
|
+
enum: *ref_10
|
|
30005
29604
|
description: >-
|
|
30006
29605
|
The token-endpoint client authentication method. Moving to
|
|
30007
29606
|
`private_key_jwt` generates a signing key pair if the connection has
|
|
@@ -30011,7 +29610,7 @@ components:
|
|
|
30011
29610
|
example: client_secret_basic
|
|
30012
29611
|
id_token_signature_algorithm:
|
|
30013
29612
|
type: string
|
|
30014
|
-
enum: *
|
|
29613
|
+
enum: *ref_11
|
|
30015
29614
|
description: The ID-token signing algorithm.
|
|
30016
29615
|
example: RS256
|
|
30017
29616
|
fetch_user_info:
|
|
@@ -30155,7 +29754,7 @@ components:
|
|
|
30155
29754
|
x-exclude-from-lint: true
|
|
30156
29755
|
required:
|
|
30157
29756
|
- saml_options
|
|
30158
|
-
x-mutually-exclusive-body-groups: *
|
|
29757
|
+
x-mutually-exclusive-body-groups: *ref_12
|
|
30159
29758
|
CreateCorsOriginDto:
|
|
30160
29759
|
type: object
|
|
30161
29760
|
properties:
|
|
@@ -30337,11 +29936,11 @@ components:
|
|
|
30337
29936
|
type:
|
|
30338
29937
|
- object
|
|
30339
29938
|
- 'null'
|
|
30340
|
-
additionalProperties: &
|
|
29939
|
+
additionalProperties: &ref_13
|
|
30341
29940
|
type: string
|
|
30342
29941
|
maxLength: 600
|
|
30343
29942
|
maxProperties: 50
|
|
30344
|
-
example: &
|
|
29943
|
+
example: &ref_14
|
|
30345
29944
|
tier: diamond
|
|
30346
29945
|
description: >-
|
|
30347
29946
|
Object containing [metadata](/authkit/metadata) key/value pairs
|
|
@@ -30396,9 +29995,9 @@ components:
|
|
|
30396
29995
|
type:
|
|
30397
29996
|
- object
|
|
30398
29997
|
- 'null'
|
|
30399
|
-
additionalProperties: *
|
|
29998
|
+
additionalProperties: *ref_13
|
|
30400
29999
|
maxProperties: 50
|
|
30401
|
-
example: *
|
|
30000
|
+
example: *ref_14
|
|
30402
30001
|
description: >-
|
|
30403
30002
|
Object containing [metadata](/authkit/metadata) key/value pairs
|
|
30404
30003
|
associated with the Organization.
|
|
@@ -30532,7 +30131,7 @@ components:
|
|
|
30532
30131
|
example: application/x-www-form-urlencoded
|
|
30533
30132
|
authenticate_via:
|
|
30534
30133
|
type: string
|
|
30535
|
-
enum: &
|
|
30134
|
+
enum: &ref_15
|
|
30536
30135
|
- request_body
|
|
30537
30136
|
- basic_auth_header
|
|
30538
30137
|
description: >-
|
|
@@ -30700,7 +30299,7 @@ components:
|
|
|
30700
30299
|
example: application/x-www-form-urlencoded
|
|
30701
30300
|
authenticate_via:
|
|
30702
30301
|
type: string
|
|
30703
|
-
enum: *
|
|
30302
|
+
enum: *ref_15
|
|
30704
30303
|
description: >-
|
|
30705
30304
|
How client credentials are sent when exchanging authorization codes
|
|
30706
30305
|
and refreshing tokens.
|
|
@@ -30781,7 +30380,7 @@ components:
|
|
|
30781
30380
|
format: date-time
|
|
30782
30381
|
scopes:
|
|
30783
30382
|
description: The OAuth scopes granted for this connection.
|
|
30784
|
-
example: &
|
|
30383
|
+
example: &ref_16
|
|
30785
30384
|
- repo
|
|
30786
30385
|
- user:email
|
|
30787
30386
|
type: array
|
|
@@ -30789,7 +30388,7 @@ components:
|
|
|
30789
30388
|
type: string
|
|
30790
30389
|
state:
|
|
30791
30390
|
type: string
|
|
30792
|
-
enum: &
|
|
30391
|
+
enum: &ref_17
|
|
30793
30392
|
- connected
|
|
30794
30393
|
- needs_reauthorization
|
|
30795
30394
|
description: >-
|
|
@@ -30847,13 +30446,13 @@ components:
|
|
|
30847
30446
|
format: date-time
|
|
30848
30447
|
scopes:
|
|
30849
30448
|
description: The OAuth scopes granted for this connection.
|
|
30850
|
-
example: *
|
|
30449
|
+
example: *ref_16
|
|
30851
30450
|
type: array
|
|
30852
30451
|
items:
|
|
30853
30452
|
type: string
|
|
30854
30453
|
state:
|
|
30855
30454
|
type: string
|
|
30856
|
-
enum: *
|
|
30455
|
+
enum: *ref_17
|
|
30857
30456
|
description: >-
|
|
30858
30457
|
Explicitly set the state of the connected account. When omitted, the
|
|
30859
30458
|
state is derived from the token combination provided.
|
|
@@ -30902,13 +30501,13 @@ components:
|
|
|
30902
30501
|
format: date-time
|
|
30903
30502
|
scopes:
|
|
30904
30503
|
description: The OAuth scopes granted for this connection.
|
|
30905
|
-
example: *
|
|
30504
|
+
example: *ref_16
|
|
30906
30505
|
type: array
|
|
30907
30506
|
items:
|
|
30908
30507
|
type: string
|
|
30909
30508
|
state:
|
|
30910
30509
|
type: string
|
|
30911
|
-
enum: *
|
|
30510
|
+
enum: *ref_17
|
|
30912
30511
|
description: >-
|
|
30913
30512
|
Explicitly set the state of the connected account. When omitted, the
|
|
30914
30513
|
state is derived from the token combination provided.
|
|
@@ -30955,13 +30554,13 @@ components:
|
|
|
30955
30554
|
format: date-time
|
|
30956
30555
|
scopes:
|
|
30957
30556
|
description: The OAuth scopes granted for this connection.
|
|
30958
|
-
example: *
|
|
30557
|
+
example: *ref_16
|
|
30959
30558
|
type: array
|
|
30960
30559
|
items:
|
|
30961
30560
|
type: string
|
|
30962
30561
|
state:
|
|
30963
30562
|
type: string
|
|
30964
|
-
enum: *
|
|
30563
|
+
enum: *ref_17
|
|
30965
30564
|
description: >-
|
|
30966
30565
|
Explicitly set the state of the connected account. When omitted, the
|
|
30967
30566
|
state is derived from the token combination provided.
|
|
@@ -31600,9 +31199,9 @@ components:
|
|
|
31600
31199
|
x-exclude-from-lint: true
|
|
31601
31200
|
required:
|
|
31602
31201
|
- role_slug
|
|
31603
|
-
x-mutually-exclusive-body-groups: *
|
|
31202
|
+
x-mutually-exclusive-body-groups: *ref_18
|
|
31604
31203
|
UpdateUserlandUserOrganizationMembershipDto:
|
|
31605
|
-
x-mutually-exclusive-body-groups: *
|
|
31204
|
+
x-mutually-exclusive-body-groups: *ref_19
|
|
31606
31205
|
oneOf:
|
|
31607
31206
|
- type: object
|
|
31608
31207
|
not:
|
|
@@ -31726,9 +31325,9 @@ components:
|
|
|
31726
31325
|
type:
|
|
31727
31326
|
- object
|
|
31728
31327
|
- 'null'
|
|
31729
|
-
additionalProperties: *
|
|
31328
|
+
additionalProperties: *ref_13
|
|
31730
31329
|
maxProperties: 50
|
|
31731
|
-
example: &
|
|
31330
|
+
example: &ref_21
|
|
31732
31331
|
timezone: America/New_York
|
|
31733
31332
|
description: >-
|
|
31734
31333
|
Object containing metadata key/value pairs associated with the
|
|
@@ -31827,7 +31426,7 @@ components:
|
|
|
31827
31426
|
example: $2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy
|
|
31828
31427
|
password_hash_type:
|
|
31829
31428
|
type: string
|
|
31830
|
-
enum: &
|
|
31429
|
+
enum: &ref_22
|
|
31831
31430
|
- bcrypt
|
|
31832
31431
|
- firebase-scrypt
|
|
31833
31432
|
- ssha
|
|
@@ -31842,7 +31441,7 @@ components:
|
|
|
31842
31441
|
example: bcrypt
|
|
31843
31442
|
password_salt_position:
|
|
31844
31443
|
type: string
|
|
31845
|
-
enum: &
|
|
31444
|
+
enum: &ref_23
|
|
31846
31445
|
- prefix
|
|
31847
31446
|
- suffix
|
|
31848
31447
|
description: >-
|
|
@@ -31863,7 +31462,7 @@ components:
|
|
|
31863
31462
|
x-exclude-from-lint: true
|
|
31864
31463
|
required:
|
|
31865
31464
|
- password
|
|
31866
|
-
x-mutually-exclusive-body-groups: *
|
|
31465
|
+
x-mutually-exclusive-body-groups: *ref_20
|
|
31867
31466
|
UpdateUserlandUserDto:
|
|
31868
31467
|
allOf:
|
|
31869
31468
|
- type: object
|
|
@@ -31893,9 +31492,9 @@ components:
|
|
|
31893
31492
|
type:
|
|
31894
31493
|
- object
|
|
31895
31494
|
- 'null'
|
|
31896
|
-
additionalProperties: *
|
|
31495
|
+
additionalProperties: *ref_13
|
|
31897
31496
|
maxProperties: 50
|
|
31898
|
-
example: *
|
|
31497
|
+
example: *ref_21
|
|
31899
31498
|
description: >-
|
|
31900
31499
|
Object containing metadata key/value pairs associated with the
|
|
31901
31500
|
user.
|
|
@@ -31977,7 +31576,7 @@ components:
|
|
|
31977
31576
|
example: $2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy
|
|
31978
31577
|
password_hash_type:
|
|
31979
31578
|
type: string
|
|
31980
|
-
enum: *
|
|
31579
|
+
enum: *ref_22
|
|
31981
31580
|
description: >-
|
|
31982
31581
|
The algorithm originally used to hash the password, used
|
|
31983
31582
|
when providing a `password_hash`. Required with
|
|
@@ -31985,7 +31584,7 @@ components:
|
|
|
31985
31584
|
example: bcrypt
|
|
31986
31585
|
password_salt_position:
|
|
31987
31586
|
type: string
|
|
31988
|
-
enum: *
|
|
31587
|
+
enum: *ref_23
|
|
31989
31588
|
description: >-
|
|
31990
31589
|
The position of the salt relative to the password when the
|
|
31991
31590
|
`password_hash` digest was computed: `prefix` for `hash(salt
|
|
@@ -32004,7 +31603,7 @@ components:
|
|
|
32004
31603
|
x-exclude-from-lint: true
|
|
32005
31604
|
required:
|
|
32006
31605
|
- password
|
|
32007
|
-
x-mutually-exclusive-body-groups: *
|
|
31606
|
+
x-mutually-exclusive-body-groups: *ref_24
|
|
32008
31607
|
SendVerificationEmailDto:
|
|
32009
31608
|
type: object
|
|
32010
31609
|
properties:
|
|
@@ -32410,7 +32009,7 @@ components:
|
|
|
32410
32009
|
description: The events that the Webhook Endpoint is subscribed to.
|
|
32411
32010
|
items:
|
|
32412
32011
|
type: string
|
|
32413
|
-
enum: &
|
|
32012
|
+
enum: &ref_25
|
|
32414
32013
|
- agent.blueprint.created
|
|
32415
32014
|
- agent.blueprint.deleted
|
|
32416
32015
|
- agent.blueprint.updated
|
|
@@ -32541,7 +32140,7 @@ components:
|
|
|
32541
32140
|
description: The events that the Webhook Endpoint is subscribed to.
|
|
32542
32141
|
items:
|
|
32543
32142
|
type: string
|
|
32544
|
-
enum: *
|
|
32143
|
+
enum: *ref_25
|
|
32545
32144
|
example:
|
|
32546
32145
|
- user.created
|
|
32547
32146
|
- dsync.user.created
|
|
@@ -36298,7 +35897,7 @@ components:
|
|
|
36298
35897
|
description: >-
|
|
36299
35898
|
An object containing the custom attribute mapping for the Directory
|
|
36300
35899
|
Provider.
|
|
36301
|
-
example: &
|
|
35900
|
+
example: &ref_32
|
|
36302
35901
|
department: Engineering
|
|
36303
35902
|
job_title: Software Engineer
|
|
36304
35903
|
role:
|
|
@@ -36560,7 +36159,7 @@ components:
|
|
|
36560
36159
|
type: object
|
|
36561
36160
|
additionalProperties: {}
|
|
36562
36161
|
description: The event payload.
|
|
36563
|
-
example: &
|
|
36162
|
+
example: &ref_26
|
|
36564
36163
|
id: directory_user_01E1JG7J09H96KYP8HM9B0G5SJ
|
|
36565
36164
|
directory_id: directory_01ECAZ4NV9QMV47GW873HDCX74
|
|
36566
36165
|
organization_id: org_01EZTR6WYX1A0DSE2CYMGXQ24Y
|
|
@@ -36595,11 +36194,11 @@ components:
|
|
|
36595
36194
|
- data
|
|
36596
36195
|
- created_at
|
|
36597
36196
|
description: An event emitted by WorkOS.
|
|
36598
|
-
example: &
|
|
36197
|
+
example: &ref_37
|
|
36599
36198
|
object: event
|
|
36600
36199
|
id: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
36601
36200
|
event: dsync.user.created
|
|
36602
|
-
data: *
|
|
36201
|
+
data: *ref_26
|
|
36603
36202
|
created_at: '2021-06-25T19:07:33.155Z'
|
|
36604
36203
|
context: {}
|
|
36605
36204
|
- oneOf:
|
|
@@ -36799,7 +36398,7 @@ components:
|
|
|
36799
36398
|
description: >-
|
|
36800
36399
|
Permission slugs forming the ceiling on what sessions
|
|
36801
36400
|
minted from this blueprint may do.
|
|
36802
|
-
example: &
|
|
36401
|
+
example: &ref_27
|
|
36803
36402
|
- crm:read
|
|
36804
36403
|
- email:send
|
|
36805
36404
|
invocable_by:
|
|
@@ -36812,7 +36411,7 @@ components:
|
|
|
36812
36411
|
description: >-
|
|
36813
36412
|
Role slugs whose members may mint user-delegated
|
|
36814
36413
|
sessions from this blueprint.
|
|
36815
|
-
example: &
|
|
36414
|
+
example: &ref_28
|
|
36816
36415
|
- manager
|
|
36817
36416
|
organization_ids:
|
|
36818
36417
|
type: array
|
|
@@ -36821,7 +36420,7 @@ components:
|
|
|
36821
36420
|
description: >-
|
|
36822
36421
|
Organizations in which autonomous sessions may be
|
|
36823
36422
|
minted from this blueprint.
|
|
36824
|
-
example: &
|
|
36423
|
+
example: &ref_29
|
|
36825
36424
|
- org_01EHWNCE74X7JSDV0X3SZ3KJNY
|
|
36826
36425
|
required:
|
|
36827
36426
|
- role_slugs
|
|
@@ -36841,7 +36440,7 @@ components:
|
|
|
36841
36440
|
Instance types that may be minted from this
|
|
36842
36441
|
blueprint: `delegated` (acting for a user) and/or
|
|
36843
36442
|
`autonomous` (acting as the agent itself).
|
|
36844
|
-
example: &
|
|
36443
|
+
example: &ref_30
|
|
36845
36444
|
- delegated
|
|
36846
36445
|
- autonomous
|
|
36847
36446
|
required:
|
|
@@ -37001,7 +36600,7 @@ components:
|
|
|
37001
36600
|
description: >-
|
|
37002
36601
|
Permission slugs forming the ceiling on what sessions
|
|
37003
36602
|
minted from this blueprint may do.
|
|
37004
|
-
example: *
|
|
36603
|
+
example: *ref_27
|
|
37005
36604
|
invocable_by:
|
|
37006
36605
|
type: object
|
|
37007
36606
|
properties:
|
|
@@ -37012,7 +36611,7 @@ components:
|
|
|
37012
36611
|
description: >-
|
|
37013
36612
|
Role slugs whose members may mint user-delegated
|
|
37014
36613
|
sessions from this blueprint.
|
|
37015
|
-
example: *
|
|
36614
|
+
example: *ref_28
|
|
37016
36615
|
organization_ids:
|
|
37017
36616
|
type: array
|
|
37018
36617
|
items:
|
|
@@ -37020,7 +36619,7 @@ components:
|
|
|
37020
36619
|
description: >-
|
|
37021
36620
|
Organizations in which autonomous sessions may be
|
|
37022
36621
|
minted from this blueprint.
|
|
37023
|
-
example: *
|
|
36622
|
+
example: *ref_29
|
|
37024
36623
|
required:
|
|
37025
36624
|
- role_slugs
|
|
37026
36625
|
- organization_ids
|
|
@@ -37039,7 +36638,7 @@ components:
|
|
|
37039
36638
|
Instance types that may be minted from this
|
|
37040
36639
|
blueprint: `delegated` (acting for a user) and/or
|
|
37041
36640
|
`autonomous` (acting as the agent itself).
|
|
37042
|
-
example: *
|
|
36641
|
+
example: *ref_30
|
|
37043
36642
|
required:
|
|
37044
36643
|
- instance_types
|
|
37045
36644
|
description: How sessions may be minted from this blueprint.
|
|
@@ -38075,7 +37674,7 @@ components:
|
|
|
38075
37674
|
items:
|
|
38076
37675
|
type: string
|
|
38077
37676
|
description: The permissions granted to the API key.
|
|
38078
|
-
example: &
|
|
37677
|
+
example: &ref_31
|
|
38079
37678
|
- users:read
|
|
38080
37679
|
- users:write
|
|
38081
37680
|
created_at:
|
|
@@ -38201,7 +37800,7 @@ components:
|
|
|
38201
37800
|
items:
|
|
38202
37801
|
type: string
|
|
38203
37802
|
description: The permissions granted to the API key.
|
|
38204
|
-
example: *
|
|
37803
|
+
example: *ref_31
|
|
38205
37804
|
created_at:
|
|
38206
37805
|
type: string
|
|
38207
37806
|
description: The timestamp when the API key was created.
|
|
@@ -38325,7 +37924,7 @@ components:
|
|
|
38325
37924
|
items:
|
|
38326
37925
|
type: string
|
|
38327
37926
|
description: The permissions granted to the API key.
|
|
38328
|
-
example: *
|
|
37927
|
+
example: *ref_31
|
|
38329
37928
|
created_at:
|
|
38330
37929
|
type: string
|
|
38331
37930
|
description: The timestamp when the API key was created.
|
|
@@ -41192,7 +40791,7 @@ components:
|
|
|
41192
40791
|
description: >-
|
|
41193
40792
|
An object containing the custom attribute mapping for
|
|
41194
40793
|
the Directory Provider.
|
|
41195
|
-
example: *
|
|
40794
|
+
example: *ref_32
|
|
41196
40795
|
role:
|
|
41197
40796
|
$ref: '#/components/schemas/SlimRole'
|
|
41198
40797
|
roles:
|
|
@@ -41382,7 +40981,7 @@ components:
|
|
|
41382
40981
|
description: >-
|
|
41383
40982
|
Labels assigned to the Feature Flag for categorizing and
|
|
41384
40983
|
filtering.
|
|
41385
|
-
example: &
|
|
40984
|
+
example: &ref_33
|
|
41386
40985
|
- reports
|
|
41387
40986
|
enabled:
|
|
41388
40987
|
type: boolean
|
|
@@ -41543,7 +41142,7 @@ components:
|
|
|
41543
41142
|
description: >-
|
|
41544
41143
|
Labels assigned to the Feature Flag for categorizing and
|
|
41545
41144
|
filtering.
|
|
41546
|
-
example: *
|
|
41145
|
+
example: *ref_33
|
|
41547
41146
|
enabled:
|
|
41548
41147
|
type: boolean
|
|
41549
41148
|
description: >-
|
|
@@ -41703,7 +41302,7 @@ components:
|
|
|
41703
41302
|
description: >-
|
|
41704
41303
|
Labels assigned to the Feature Flag for categorizing and
|
|
41705
41304
|
filtering.
|
|
41706
|
-
example: *
|
|
41305
|
+
example: *ref_33
|
|
41707
41306
|
enabled:
|
|
41708
41307
|
type: boolean
|
|
41709
41308
|
description: >-
|
|
@@ -41983,7 +41582,7 @@ components:
|
|
|
41983
41582
|
description: >-
|
|
41984
41583
|
Labels assigned to the Feature Flag for categorizing and
|
|
41985
41584
|
filtering.
|
|
41986
|
-
example: *
|
|
41585
|
+
example: *ref_33
|
|
41987
41586
|
enabled:
|
|
41988
41587
|
type: boolean
|
|
41989
41588
|
description: >-
|
|
@@ -42999,7 +42598,7 @@ components:
|
|
|
42999
42598
|
description: >-
|
|
43000
42599
|
Object containing [metadata](/authkit/metadata)
|
|
43001
42600
|
key/value pairs associated with the Organization.
|
|
43002
|
-
example: &
|
|
42601
|
+
example: &ref_34
|
|
43003
42602
|
tier: diamond
|
|
43004
42603
|
propertyNames:
|
|
43005
42604
|
maxLength: 40
|
|
@@ -43149,7 +42748,7 @@ components:
|
|
|
43149
42748
|
description: >-
|
|
43150
42749
|
Object containing [metadata](/authkit/metadata)
|
|
43151
42750
|
key/value pairs associated with the Organization.
|
|
43152
|
-
example: *
|
|
42751
|
+
example: *ref_34
|
|
43153
42752
|
propertyNames:
|
|
43154
42753
|
maxLength: 40
|
|
43155
42754
|
maxProperties: 50
|
|
@@ -43976,7 +43575,7 @@ components:
|
|
|
43976
43575
|
items:
|
|
43977
43576
|
type: string
|
|
43978
43577
|
description: The permissions granted by the role.
|
|
43979
|
-
example: &
|
|
43578
|
+
example: &ref_35
|
|
43980
43579
|
- users:read
|
|
43981
43580
|
- users:write
|
|
43982
43581
|
created_at:
|
|
@@ -44060,7 +43659,7 @@ components:
|
|
|
44060
43659
|
items:
|
|
44061
43660
|
type: string
|
|
44062
43661
|
description: The permissions granted by the role.
|
|
44063
|
-
example: *
|
|
43662
|
+
example: *ref_35
|
|
44064
43663
|
created_at:
|
|
44065
43664
|
format: date-time
|
|
44066
43665
|
type: string
|
|
@@ -44142,7 +43741,7 @@ components:
|
|
|
44142
43741
|
items:
|
|
44143
43742
|
type: string
|
|
44144
43743
|
description: The permissions granted by the role.
|
|
44145
|
-
example: *
|
|
43744
|
+
example: *ref_35
|
|
44146
43745
|
created_at:
|
|
44147
43746
|
format: date-time
|
|
44148
43747
|
type: string
|
|
@@ -44279,7 +43878,7 @@ components:
|
|
|
44279
43878
|
description: >-
|
|
44280
43879
|
Object containing [metadata](/authkit/metadata)
|
|
44281
43880
|
key/value pairs associated with the Organization.
|
|
44282
|
-
example: *
|
|
43881
|
+
example: *ref_34
|
|
44283
43882
|
propertyNames:
|
|
44284
43883
|
maxLength: 40
|
|
44285
43884
|
maxProperties: 50
|
|
@@ -45479,7 +45078,7 @@ components:
|
|
|
45479
45078
|
items:
|
|
45480
45079
|
type: string
|
|
45481
45080
|
description: The permissions granted by the role.
|
|
45482
|
-
example: &
|
|
45081
|
+
example: &ref_36
|
|
45483
45082
|
- users:read
|
|
45484
45083
|
- users:write
|
|
45485
45084
|
created_at:
|
|
@@ -45545,7 +45144,7 @@ components:
|
|
|
45545
45144
|
items:
|
|
45546
45145
|
type: string
|
|
45547
45146
|
description: The permissions granted by the role.
|
|
45548
|
-
example: *
|
|
45147
|
+
example: *ref_36
|
|
45549
45148
|
created_at:
|
|
45550
45149
|
format: date-time
|
|
45551
45150
|
type: string
|
|
@@ -45609,7 +45208,7 @@ components:
|
|
|
45609
45208
|
items:
|
|
45610
45209
|
type: string
|
|
45611
45210
|
description: The permissions granted by the role.
|
|
45612
|
-
example: *
|
|
45211
|
+
example: *ref_36
|
|
45613
45212
|
created_at:
|
|
45614
45213
|
format: date-time
|
|
45615
45214
|
type: string
|
|
@@ -46811,7 +46410,7 @@ components:
|
|
|
46811
46410
|
- data
|
|
46812
46411
|
- created_at
|
|
46813
46412
|
- object
|
|
46814
|
-
example: *
|
|
46413
|
+
example: *ref_37
|
|
46815
46414
|
description: An event emitted by WorkOS.
|
|
46816
46415
|
EventList:
|
|
46817
46416
|
type: object
|
|
@@ -46846,7 +46445,7 @@ components:
|
|
|
46846
46445
|
example:
|
|
46847
46446
|
object: list
|
|
46848
46447
|
data:
|
|
46849
|
-
- *
|
|
46448
|
+
- *ref_37
|
|
46850
46449
|
list_metadata:
|
|
46851
46450
|
after: event_01EHZNVPK3SFK441A1RGBFSHRT
|
|
46852
46451
|
JwtTemplate:
|
|
@@ -48341,7 +47940,7 @@ components:
|
|
|
48341
47940
|
integration or organization pins require reconnecting or
|
|
48342
47941
|
explicitly rebinding the connection. Defaults are live and can
|
|
48343
47942
|
differ from a cached token's audience until refresh or re-mint.
|
|
48344
|
-
example: &
|
|
47943
|
+
example: &ref_38
|
|
48345
47944
|
account: myorg-myaccount
|
|
48346
47945
|
required:
|
|
48347
47946
|
- object
|
|
@@ -48386,7 +47985,7 @@ components:
|
|
|
48386
47985
|
integration or organization pins require reconnecting or
|
|
48387
47986
|
explicitly rebinding the connection. Defaults are live and can
|
|
48388
47987
|
differ from a cached token's audience until refresh or re-mint.
|
|
48389
|
-
example: *
|
|
47988
|
+
example: *ref_38
|
|
48390
47989
|
required:
|
|
48391
47990
|
- object
|
|
48392
47991
|
- auth_method
|
|
@@ -48463,7 +48062,7 @@ components:
|
|
|
48463
48062
|
integration or organization pins require reconnecting or
|
|
48464
48063
|
explicitly rebinding the connection. Defaults are live and can
|
|
48465
48064
|
differ from a cached token's audience until refresh or re-mint.
|
|
48466
|
-
example: *
|
|
48065
|
+
example: *ref_38
|
|
48467
48066
|
required:
|
|
48468
48067
|
- object
|
|
48469
48068
|
- auth_method
|
|
@@ -48894,7 +48493,7 @@ components:
|
|
|
48894
48493
|
items:
|
|
48895
48494
|
type: string
|
|
48896
48495
|
description: The OAuth scopes granted for this connection.
|
|
48897
|
-
example: &
|
|
48496
|
+
example: &ref_39
|
|
48898
48497
|
- repo
|
|
48899
48498
|
- user:email
|
|
48900
48499
|
auth_method:
|
|
@@ -48944,7 +48543,7 @@ components:
|
|
|
48944
48543
|
`installation` scope, excluding secret and undeclared
|
|
48945
48544
|
fields. Returned for every authentication method;
|
|
48946
48545
|
empty when no stored values can be disclosed.
|
|
48947
|
-
example: &
|
|
48546
|
+
example: &ref_40
|
|
48948
48547
|
instance_url: https://example.my.salesforce.com
|
|
48949
48548
|
state:
|
|
48950
48549
|
type: string
|
|
@@ -49106,7 +48705,7 @@ components:
|
|
|
49106
48705
|
items:
|
|
49107
48706
|
type: string
|
|
49108
48707
|
description: The OAuth scopes granted for this connection.
|
|
49109
|
-
example: *
|
|
48708
|
+
example: *ref_39
|
|
49110
48709
|
auth_method:
|
|
49111
48710
|
type: string
|
|
49112
48711
|
enum:
|
|
@@ -49153,7 +48752,7 @@ components:
|
|
|
49153
48752
|
`installation` scope, excluding secret and undeclared
|
|
49154
48753
|
fields. Returned for every authentication method; empty
|
|
49155
48754
|
when no stored values can be disclosed.
|
|
49156
|
-
example: *
|
|
48755
|
+
example: *ref_40
|
|
49157
48756
|
state:
|
|
49158
48757
|
type: string
|
|
49159
48758
|
enum:
|