Skip to main content
POST
cURL

Authorizations

X-API-KEY
string
header
required

API key authentication. Get your API key from the Control Plane.

Headers

Connect-Protocol-Version
enum<number>

Define the version of the Connect protocol

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json

Exactly one of these fields is required: google_workspace or okta.

directoryId
string
Minimum string length: 1
googleWorkspace
google_workspace · object

One of the discriminated union fields - use exactly one

okta
okta · object

One of the discriminated union fields - use exactly one

Response

Success

connection
connection · object