Hello, Which API should we use in order to delete ...
# ask-questions
v
Hello, Which API should we use in order to delete an experiment that is not in use? Thanks
r
Our official support hours are 6:30am - 5pm Pacific Time, Monday through Friday. You may occasionally hear from us outside of these hours. Your support request has been logged in our system. Our support team will get back to you very soon!
b
Hi Margarita, thanks for reaching out! You can use the updateExperiment endpoint to change the "archived" and/or "status" properties of the Experiment: https://docs.growthbook.io/api#tag/experiments/operation/updateExperiment Would that address your use case?
v
Unfortunately we need to delete the experiment from the system. Making it archived/disabled/stopped doesn't answer our need.
r
It looks like we don't currently support the deletion of Experiments via API. I'll submit this as a feature request to the engineering team.
👍 1