# How to delete multiple uids

**URL:** <https://discuss.dgraph.io/t/how-to-delete-multiple-uids/3983>\
**Category:** Users\
**Created:** [February 4, 2019, 12:07pm UTC](https://discuss.dgraph.io/t/how-to-delete-multiple-uids/3983 "2019-02-04T12:07:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JCzz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/jczz/32/1775_2.png) [@JCzz](https://discuss.dgraph.io/u/JCzz)\
**Post date:** [February 4, 2019, 12:07pm UTC](https://discuss.dgraph.io/t/how-to-delete-multiple-uids/3983/1 "2019-02-04T12:07:07Z")

</div>

Hi

How do I delete multiple uids from a previous query - (curl and Ratel) and or, a go client?

I have seen som talk about using transactions ; last comment:  
[https://github.com/dgraph-io/dgraph/issues/903](https://github.com/dgraph-io/dgraph/issues/903)

Can it be done in Ratel/curl mutation or should I create a go client that keeps a list of uids.

I can not find any samples on this?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![MichelDiz](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/micheldiz/32/11873_2.png) [@MichelDiz](https://discuss.dgraph.io/u/MichelDiz)\
**Post date:** [February 4, 2019, 1:06pm UTC](https://discuss.dgraph.io/t/how-to-delete-multiple-uids/3983/2 "2019-02-04T13:06:03Z")

</div>

What @pawanrawal explains in the end of this issue is what you can do right now in Dgraph. The process is the same for all clients.

You can do it in a single transaction with N operations or multiple transactions. It makes no obvious difference.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/2/2b38fdece2abe5814f2e51bee69d1e67fc304b0a.png) [@system](https://discuss.dgraph.io/u/system)\
**Post date:** [March 6, 2019, 1:15pm UTC](https://discuss.dgraph.io/t/how-to-delete-multiple-uids/3983/3 "2019-03-06T13:15:26Z")

</div>

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