# How to delete all vectors belonging to no namespace?

**URL:** <https://community.pinecone.io/t/how-to-delete-all-vectors-belonging-to-no-namespace/843>\
**Category:** Support\
**Tags:** vector-database\
**Created:** [March 16, 2023, 11:59am UTC](https://community.pinecone.io/t/how-to-delete-all-vectors-belonging-to-no-namespace/843 "2023-03-16T11:59:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![EduardoUlloa](https://avatars.discourse-cdn.com/v4/letter/e/f17d59/32.png) [@EduardoUlloa](https://community.pinecone.io/u/EduardoUlloa)\
**Post date:** [March 16, 2023, 11:59am UTC](https://community.pinecone.io/t/how-to-delete-all-vectors-belonging-to-no-namespace/843/1 "2023-03-16T11:59:44Z")

</div>

I want to know if there is any pineconing way of erasing all the vectors which do not belong to any namespace.  
I read the documentation but I could not find anything usefull.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![greg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/greg/32/54_2.png) [@greg](https://community.pinecone.io/u/greg)\
**Post date:** [March 16, 2023, 1:26pm UTC](https://community.pinecone.io/t/how-to-delete-all-vectors-belonging-to-no-namespace/843/2 "2023-03-16T13:26:26Z")

</div>

All vectors belong to a [namespace](https://docs.pinecone.io/docs/namespaces). The default namespace is an empty string (`''`), so if you didn’t specify a namespace when uploading vectors then they most likely went there. You should 100% check before deleting the entire namespace, though.

---

<div class="post-metadata">

**Author:** ![EduardoUlloa](https://avatars.discourse-cdn.com/v4/letter/e/f17d59/32.png) [@EduardoUlloa](https://community.pinecone.io/u/EduardoUlloa)\
**Post date:** [March 16, 2023, 2:21pm UTC](https://community.pinecone.io/t/how-to-delete-all-vectors-belonging-to-no-namespace/843/3 "2023-03-16T14:21:20Z")

</div>

I will then fetch for namespace (`' '` ) and ensure that the vectors are the ones I am loking for. Thanks for the answer Greg.

---

<div class="post-metadata">

**Author:** ![Atomily](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@Atomily](https://community.pinecone.io/u/Atomily)\
**Post date:** [March 19, 2023, 5:55pm UTC](https://community.pinecone.io/t/how-to-delete-all-vectors-belonging-to-no-namespace/843/4 "2023-03-19T17:55:09Z")

</div>

@greg I have the same issue. When I fetch from an empty namespace the response is empty despite there being records in the empty namespace

---

<div class="post-metadata">

**Author:** ![MUkbd](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@MUkbd](https://community.pinecone.io/u/MUkbd)\
**Post date:** [March 29, 2023, 5:16pm UTC](https://community.pinecone.io/t/how-to-delete-all-vectors-belonging-to-no-namespace/843/5 "2023-03-29T17:16:12Z")

</div>

I am new to Pinecone and have the same issue deleting the vectors belonging to one name space. I am wondering if there is any easy to implement method to delete all vectors in pinecone, or deleting the vectors on pinecone website?

---

<div class="post-metadata">

**Author:** ![Jasper](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/jasper/32/4514_2.png) [@Jasper](https://community.pinecone.io/u/Jasper)\
**Post date:** [March 30, 2023, 6:51am UTC](https://community.pinecone.io/t/how-to-delete-all-vectors-belonging-to-no-namespace/843/6 "2023-03-30T06:51:01Z")

</div>

HI @MUkbd

There is the deleteAll body param when using the delete ([Delete](https://docs.pinecone.io/reference/delete_post)).

As per upper responses from Greg, all vectors belong to a namespace (be it named or ’ '). I would reiterate his last part. Always, “100% check before deleting the entire namespace”.

Good luck
