<p>You can use a console command to kick off a garbage collection run. This will remove any customers not associated with a user or cart/order. It will do other things too.</p>
<p>docs for craft 3x <a href="https://craftcms.com/docs/3.x/gc.html" rel="nofollow noreferrer">https://craftcms.com/docs/3.x/gc.html</a></p>

CC BY-SA 4.0
2021-08-05T19:14:41.307Z
2021-08-05T19:14:41.307Z
sparkalow
<p>Is there a way to delete the users that were created in the customers section?</p>
<p>I made a site and generated multiple accounts for testing purposes, but now I have to deliver it and I don't want those users to show up.</p>
<p>Craft users are successfully deleted, but customers are not.</p>
<p><a href="https://i.sstatic.net/3uabK.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/3uabK.png" alt="Craft Commerce Customers" /></a></p>

<plugin-craftcommerce><plugin-craftcommerce2>
Craft Commerce Delete Customers
# Craft Commerce Delete Customers

(Asked by: username_0 on 2021-03-06)

Is there a way to delete the users that were created in the customers section?

I made a site and generated multiple accounts for testing purposes, but now I have to deliver it and I don't want those users to show up.

Craft users are successfully deleted, but customers are not.

[![Craft Commerce Customers](https://i.sstatic.net/3uabK.png)](https://i.sstatic.net/3uabK.png)

**Tags:** plugin-craftcommerce, plugin-craftcommerce2

---

## 1 answers

### Answer by username_1 on 2021-08-05. Score: 1

You can use a console command to kick off a garbage collection run. This will remove any customers not associated with a user or cart/order. It will do other things too.

docs for craft 3x <https://craftcms.com/docs/3.x/gc.html>


---

