# How to delete PRED so that it no longer appears in the cluster-list?

**URL:** <https://discuss.dgraph.io/t/how-to-delete-pred-so-that-it-no-longer-appears-in-the-cluster-list/11031>\
**Category:** Dgraph\
**Tags:** kind:question\
**Created:** [October 20, 2020, 2:26am UTC](https://discuss.dgraph.io/t/how-to-delete-pred-so-that-it-no-longer-appears-in-the-cluster-list/11031 "2020-10-20T02:26:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsz](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@gsz](https://discuss.dgraph.io/u/gsz)\
**Post date:** [October 20, 2020, 2:26am UTC](https://discuss.dgraph.io/t/how-to-delete-pred-so-that-it-no-longer-appears-in-the-cluster-list/11031/1 "2020-10-20T02:26:27Z")

</div>

I tried the following

```auto
upsert {
  query {
    v as var(func: has(follower)) {
    }
  }

  mutation {
    # we copy the values from the old predicate

    # and we delete the old predicate
    delete {
      uid(v) <follower> * .
    }
  }
}

```

AND  
 ![image](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/d/d7cfc1a28ba35fc8aebfb9ea82fa59382dda2076.png)

But it is still displayed in the cluster list!

Forcing refresh-page(ctrl+F5) is useless too.

---

<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:** [October 20, 2020, 2:41am UTC](https://discuss.dgraph.io/t/how-to-delete-pred-so-that-it-no-longer-appears-in-the-cluster-list/11031/2 "2020-10-20T02:41:28Z")

</div>

Well, if you use the drop pred in the PrintScreen you have shared. You should be able to rip it off from the DB. It works fine on my end tho. If it isn’t working at your side, maybe something is reintroducing the schema every time.

The Upsert Block isn’t useful in this context. It should be used for values, not to drop predicates in the cluster itself.

If you are talking about to “no longer appear at the Cluster Panel”. Well, that’s a different thing. It should disappear from there in a few hours. If you notice that it took a day or more to disappear, please open an issue cuz that would be a bug.

Cheers.

---

<div class="post-metadata">

**Author:** ![gsz](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@gsz](https://discuss.dgraph.io/u/gsz)\
**Post date:** [October 20, 2020, 2:45am UTC](https://discuss.dgraph.io/t/how-to-delete-pred-so-that-it-no-longer-appears-in-the-cluster-list/11031/3 "2020-10-20T02:45:21Z")

</div>

Yeah,I’m talking about “no longer appear at the Cluster Panel”,So there is no way to take edffect immediately? Thanks for your answer.

---

<div class="post-metadata">

**Author:** ![gsz](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@gsz](https://discuss.dgraph.io/u/gsz)\
**Post date:** [October 20, 2020, 2:45am UTC](https://discuss.dgraph.io/t/how-to-delete-pred-so-that-it-no-longer-appears-in-the-cluster-list/11031/4 "2020-10-20T02:45:57Z")

</div>

take effect

---

<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:** [October 20, 2020, 2:47am UTC](https://discuss.dgraph.io/t/how-to-delete-pred-so-that-it-no-longer-appears-in-the-cluster-list/11031/5 "2020-10-20T02:47:37Z")

</div>

> [@gsz](#):
>
> So there is no way to take edffect immediately? Thanks for your answer.

No, no way as far as I know. But I think someone had mentioned this some time ago. Not sure if they have opened a ticket for this. But in the end, that’s not an important thing. It won’t bother the day to day use. And it also doesn’t export that predicate.

But if you find that it is important, check if there’s no duplicated and create one if so.

---

<div class="post-metadata">

**Author:** ![gsz](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@gsz](https://discuss.dgraph.io/u/gsz)\
**Post date:** [October 20, 2020, 2:48am UTC](https://discuss.dgraph.io/t/how-to-delete-pred-so-that-it-no-longer-appears-in-the-cluster-list/11031/6 "2020-10-20T02:48:52Z")

</div>

Ok,thanks a lot!
