Can we delte Mlflow experiment

User16826994223
Databricks Employee
Databricks Employee

I am using ML flow and my need of the hour is to delete an experiment and want to create another experiment with same run.

client = MlflowClient(tracking_uri=server)
client.delete_experiment(1)

This deletes the

experiment, but when I run a new experiment with the same name as the one I just deleted, it will return this error:

You can restore the experiment, or permanently delete the experiment to create a new one