How to delete or update cluster-scoped init scripts

dbx_8451
New Contributor II

We are working on to deprecate the dbfs based cluster-scoped init scripts and replace them with workspace based, therefore finding a way to delete the dbfs cluster-scoped init scripts from all the clusters that are running in our environment using REST API.  I couldn't not find a way to delete them using REST API, therefore reaching you out for a help.  

your early response is very much appreciated.  

arpit
Databricks Employee
Databricks Employee

@dbx_8451 There is no direct way for doing it, you may need to automate using the list Cluster API.