POST
/
provisioning
/
organizations
/
{organization_id}
/
connections
curl --request POST \
  --url https://api.leen.dev/v1/provisioning/organizations/{organization_id}/connections \
  --header 'Content-Type: application/json' \
  --data '{
  "vendor": "TENABLE",
  "credentials": {
    "client_key": "<string>",
    "secret_key": "<string>"
  },
  "identifier": "<string>"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "vendor": "<string>",
  "refresh_interval_secs": 123,
  "timeout_secs": 123,
  "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "oauth2_authorize_url": "<string>",
  "identifier": "<string>"
}

Headers

X-API-KEY
string | null
X-CONNECTION-INVITE-TOKEN
string | null

Path Parameters

organization_id
string
required

Body

application/json
vendor
enum<string>
required

Connection vendor

Available options:
TENABLE,
QUALYS,
SNYK,
CROWDSTRIKE,
MS_DEFENDER_ENDPOINT,
SENTINELONE,
SEMGREP,
INSIGHTVM
credentials
object
required

Connection credentials

identifier
string | null

An optional identifier for the connection, you can use this to reference the connection in your own system

Response

200 - application/json
id
string
required
vendor
string
required
refresh_interval_secs
integer
required
timeout_secs
integer
required
organization_id
string
required
oauth2_authorize_url
string | null
identifier
string | null