Skip to main content
POST
Create Databricks Authorization

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
connectionId
string
required

The ID of the Connection this authorization belongs to.

authType
enum<string>
required

The authentication method to use. Possible values: PAT, OAUTH_M2M.

Available options:
PAT,
OAUTH_M2M
host
string
required

The Databricks server hostname.

Minimum string length: 1
httpPath
string
required

The HTTP path for the Databricks SQL warehouse or cluster.

Minimum string length: 1
port
integer<int32>

The port number for the Databricks connection. Typically 443.

accessToken
string
write-only

The personal access token for PAT authentication.

clientId
string

The OAuth client ID for OAUTH_M2M authentication.

clientSecret
string
write-only

The OAuth client secret for OAUTH_M2M authentication.

Response

201 - application/json

Created

id
string

The unique object identifier.

version
integer<int64>

Data integrity version to ensure data consistency.

creationDate
string<date-time>

The date that the object was originally created.

lastModifiedDate
string<date-time>

The date that the object was last updated or modified.

createdUserInfo
User Info · object
read-only

Details about the user who created the object.

lastModifiedUserInfo
User Info · object
read-only

Details about the user who last modified or updated the object.

connectionId
string

The ID of the Connection this authorization belongs to.

authType
enum<string>

The authentication method to use. Possible values: PAT, OAUTH_M2M.

Available options:
PAT,
OAUTH_M2M
host
string

The Databricks server hostname.

port
integer<int32>

The port number for the Databricks connection. Typically 443.

httpPath
string

The HTTP path for the Databricks SQL warehouse or cluster.

clientId
string

The OAuth client ID for OAUTH_M2M authentication.