I want to update databricks secrete programmatically via python notebook.
Thank you in advance,
Based on this documentation and AFAIK that's not possible.
You will have to use the CLI for that.