Can I update a table comment using REST API?

al2co33
New Contributor

https://docs.databricks.com/api/workspace/tables

It seems I could only list/delete tables, is there a way to update a table's metadata like comment or detail fields by REST API?

Ayushi_Suthar
Databricks Employee
Databricks Employee

Hi @al2co33 , We don't currently provide any APIs for updating table comments, however you can utilize the SQL Statement Execution API to do it.

You can use the following tutorial to ALTER TABLE/COLUMN COMMENT.

https://learn.microsoft.com/en-us/azure/databricks/sql/admin/sql-execution-tutorial