Skip to main content

custom_app_integrations

Creates, updates, deletes, gets or lists a custom_app_integrations resource.

Overview

Namecustom_app_integrations
TypeResource
Iddatabricks_account.oauth.custom_app_integrations

Fields

The following fields are returned by SELECT queries:

Request completed successfully.

NameDatatypeDescription
namestring
client_idstring
integration_idstring
confidentialboolean
create_timestring
created_byinteger
creator_usernamestring
redirect_urlsarray
scopesarray
token_access_policyobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGets the Custom OAuth App Integration for the given integration id.
listselectGet the list of custom OAuth app integrations for the specified Databricks account
createinsertCreate Custom OAuth App Integration.
updateupdateUpdates an existing custom OAuth App Integration. You can retrieve the custom OAuth app integration via
deletedeleteDelete an existing Custom OAuth App Integration. You can retrieve the custom OAuth app integration via

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

SELECT examples

Gets the Custom OAuth App Integration for the given integration id.

SELECT
name,
client_id,
integration_id,
confidential,
create_time,
created_by,
creator_username,
redirect_urls,
scopes,
token_access_policy
FROM databricks_account.oauth.custom_app_integrations;

INSERT examples

Create Custom OAuth App Integration.

INSERT INTO databricks_account.oauth.custom_app_integrations (
data__redirect_urls,
data__name,
data__confidential,
data__scopes,
data__token_access_policy
)
SELECT
'{{ redirect_urls }}',
'{{ name }}',
{{ confidential }},
'{{ scopes }}',
'{{ token_access_policy }}'
RETURNING
client_id,
integration_id,
client_secret
;

UPDATE examples

Updates an existing custom OAuth App Integration. You can retrieve the custom OAuth app integration via

UPDATE databricks_account.oauth.custom_app_integrations
SET
data__redirect_urls = '{{ redirect_urls }}',
data__token_access_policy = '{{ token_access_policy }}'
WHERE
;

DELETE examples

Delete an existing Custom OAuth App Integration. You can retrieve the custom OAuth app integration via

DELETE FROM databricks_account.oauth.custom_app_integrations;