cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

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?

1 REPLY 1

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