@Generated public interface DbsqlPermissionsService
There are three levels of permission:
- `CAN_VIEW`: Allows read-only access
- `CAN_RUN`: Allows read access and run access (superset of `CAN_VIEW`)
- `CAN_MANAGE`: Allows all actions: read, run, edit, delete, modify permissions (superset of `CAN_RUN`)
**Note**: A new version of the Databricks SQL API is now available. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
| Modifier and Type | Method and Description |
|---|---|
GetResponse |
get(GetDbsqlPermissionRequest getDbsqlPermissionRequest)
Get object ACL.
|
SetResponse |
set(SetRequest setRequest)
Set object ACL.
|
Success |
transferOwnership(TransferOwnershipRequest transferOwnershipRequest)
Transfer object ownership.
|
GetResponse get(GetDbsqlPermissionRequest getDbsqlPermissionRequest)
Gets a JSON representation of the access control list (ACL) for a specified object.
**Note**: A new version of the Databricks SQL API is now available. Please use :method:workspace/getpermissions instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
SetResponse set(SetRequest setRequest)
Sets the access control list (ACL) for a specified object. This operation will complete rewrite the ACL.
**Note**: A new version of the Databricks SQL API is now available. Please use :method:workspace/setpermissions instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
Success transferOwnership(TransferOwnershipRequest transferOwnershipRequest)
Transfers ownership of a dashboard, query, or alert to an active user. Requires an admin API key.
**Note**: A new version of the Databricks SQL API is now available. For queries and alerts, please use :method:queries/update and :method:alerts/update respectively instead. [Learn more]
[Learn more]: https://docs.databricks.com/en/sql/dbsql-api-latest.html
Copyright © 2025. All rights reserved.