# Delete a projet with the API or some other programmatic way

**URL:** <https://community.wandb.ai/t/delete-a-projet-with-the-api-or-some-other-programmatic-way/4842>\
**Category:** W&B Help\
**Tags:** wandb\
**Created:** [August 3, 2023, 8:47am UTC](https://community.wandb.ai/t/delete-a-projet-with-the-api-or-some-other-programmatic-way/4842 "2023-08-03T08:47:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![davideseddio](https://avatars.discourse-cdn.com/v4/letter/d/ea666f/32.png) [@davideseddio](https://community.wandb.ai/u/davideseddio)\
**Post date:** [August 3, 2023, 8:47am UTC](https://community.wandb.ai/t/delete-a-projet-with-the-api-or-some-other-programmatic-way/4842/1 "2023-08-03T08:47:35Z")

</div>

Is it possible to delete a project programmatically, or can it be done only through the UI?

---

<div class="post-metadata">

**Author:** ![luis\_bergua](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@luis\_bergua](https://community.wandb.ai/u/luis_bergua)\
**Post date:** [August 4, 2023, 11:18am UTC](https://community.wandb.ai/t/delete-a-projet-with-the-api-or-some-other-programmatic-way/4842/2 "2023-08-04T11:18:40Z")

</div>

Hi @davideseddio, thanks for writing in! You can only delete projects from the UI but you can use our Public API to delete every run under the desired project like:

```auto
import wandb

runs = wandb.Api().runs("<entity-name>/<project-name>")
for run in runs:
    run.delete()

```

Please let me know if this would be useful!

---

<div class="post-metadata">

**Author:** ![luis\_bergua](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@luis\_bergua](https://community.wandb.ai/u/luis_bergua)\
**Post date:** [August 8, 2023, 1:08pm UTC](https://community.wandb.ai/t/delete-a-projet-with-the-api-or-some-other-programmatic-way/4842/3 "2023-08-08T13:08:48Z")

</div>

Hi Davide, since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!

---

<div class="post-metadata">

**Author:** ![davideseddio](https://avatars.discourse-cdn.com/v4/letter/d/ea666f/32.png) [@davideseddio](https://community.wandb.ai/u/davideseddio)\
**Post date:** [August 8, 2023, 1:49pm UTC](https://community.wandb.ai/t/delete-a-projet-with-the-api-or-some-other-programmatic-way/4842/4 "2023-08-08T13:49:01Z")

</div>

it does not really achieve what I am trying to do. I would like to delete a project, not the runs within a project.

---

<div class="post-metadata">

**Author:** ![scrubaiwandb](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@scrubaiwandb](https://community.wandb.ai/u/scrubaiwandb)\
**Post date:** [September 20, 2023, 9:20am UTC](https://community.wandb.ai/t/delete-a-projet-with-the-api-or-some-other-programmatic-way/4842/5 "2023-09-20T09:20:31Z")

</div>

This would be a nice feature

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [November 19, 2023, 9:21am UTC](https://community.wandb.ai/t/delete-a-projet-with-the-api-or-some-other-programmatic-way/4842/6 "2023-11-19T09:21:09Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
