# The legacy SQL Permissions API is deprecated

Databricks REST API deprecated /api/2.0/preview/sql/permissions/* without giving a shutdown date yet.

- API: Databricks REST API (*.cloud.databricks.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/api/2.0/preview/sql/permissions/*`
- Source: [Announcement](https://docs.databricks.com/aws/en/sql/dbsql-api-latest)
- Page: https://www.okapi.bot/providers/databricks-rest-api/breaking-changes/the-legacy-sql-permissions-api-is-deprecated/

## What to use instead

Manage query and alert permissions with the Workspace object permissions API (/api/2.0/permissions/{object_type}/{object_id}); transfer ownership with the Queries and Alerts update endpoints.

## Databricks REST API's words

> The Permissions API is now marked as deprecated. Use the Workspace API to manage object permissions.
