How to manage Databricks SQL Endpoints from application / command line?

Viewed 213

Is there a way to start, stop, list available SQL Endpoints in Databricks SQL?


With "Can Use" permission it's possible to start a SQL Endpoint while connecting to an endpoint using the Databricks JDBC driver, but have no idea how to stop it (not to mention how to list all the available endpoints).

1 Answers

All of this (and more) could be done via REST API for SQL Endpoints. You just need to be authenticated to workspace & have corresponding permissions. To stop you need to have CAN_MANAGE permission (see docs)

Related