# Deleted deployment is still visible under UI/Deployments

**URL:** <https://discuss.elastic.co/t/deleted-deployment-is-still-visible-under-ui-deployments/180713>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [May 12, 2019, 5:52pm UTC](https://discuss.elastic.co/t/deleted-deployment-is-still-visible-under-ui-deployments/180713 "2019-05-12T17:52:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![apaulsen](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@apaulsen](https://discuss.elastic.co/u/apaulsen)\
**Post date:** [May 12, 2019, 5:52pm UTC](https://discuss.elastic.co/t/deleted-deployment-is-still-visible-under-ui-deployments/180713/1 "2019-05-12T17:52:16Z")

</div>

I've deleted an deployment with help of UI. But the deleted deployment remains in UI.  
Changing into the deployment shows " Deployment not found. [Go back to deployments]."

MouseOver-Info is "This deployment is terminated and its data has been deleted"

**How can I go rid of this deleted Deployments in UI?**

TIA,  
Agnes

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [May 14, 2019, 1:37pm UTC](https://discuss.elastic.co/t/deleted-deployment-is-still-visible-under-ui-deployments/180713/2 "2019-05-14T13:37:45Z")

</div>

Note we normally see this happen when the admiconsole cluster is overloaded/under-sized, or if the ZK (director) role is under heavy load - so you should check the overall health of your ECE deployment

To fix the problem you mention, from the API console of the "adminconsole cluster", do `DELETE` on the URL `v1-elasticsearch-clusters-ece-region/CLUSTERID` for the cluster id

We're working on a fix for this

---

<div class="post-metadata">

**Author:** ![apaulsen](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@apaulsen](https://discuss.elastic.co/u/apaulsen)\
**Post date:** [May 16, 2019, 8:40am UTC](https://discuss.elastic.co/t/deleted-deployment-is-still-visible-under-ui-deployments/180713/3 "2019-05-16T08:40:50Z")

</div>

I can't find the proper syntax for API console DELETE Input

This is the my URL:  
[http://xyz.abc.com:12400/region/ece-region/deployment/504e4bc094f346be93b4d06b5a599ad5](http://xyz.abc.com:12400/region/ece-region/deployment/504e4bc094f346be93b4d06b5a599ad5)

Which part of it is accepted by API for "v1-elasticsearch-clusters-ece-region/CLUSTERID"?

TIA

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [May 16, 2019, 12:27pm UTC](https://discuss.elastic.co/t/deleted-deployment-is-still-visible-under-ui-deployments/180713/4 "2019-05-16T12:27:28Z")

</div>

(sorry ignore this - misread the context, will reply below)

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [May 16, 2019, 12:39pm UTC](https://discuss.elastic.co/t/deleted-deployment-is-still-visible-under-ui-deployments/180713/5 "2019-05-16T12:39:51Z")

</div>

> [@apaulsen](#):
>
> I can't find the proper syntax for API console DELETE Input
> 
> This is the my URL:  
> [http://xyz.abc.com:12400/region/ece-region/deployment/504e4bc094f346be93b4d06b5a599ad5](http://xyz.abc.com:12400/region/ece-region/deployment/504e4bc094f346be93b4d06b5a599ad5)
> 
> Which part of it is accepted by API for "v1-elasticsearch-clusters-ece-region/CLUSTERID"?

First navigate to the console page for the adminconsole cluster (not the cluster you want to delete), so visit (eg if its id is `ADMINCONSOLEID`) `http://xyz.abc.com:12400/region/ece-region/deployment/ADMINCONSOLEID/elasticsearch/console`

That page has a dropdown with the HTTP method (so set that to `DELETE`) and a text box for the URL. You're just issuing an [ES delete command](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete.html)

So (apologies I now realize I missed a bit): the text box should read `v1-elasticsearch-clusters-ece-region/elasticsearch-cluster/CLUSTERID`

---

<div class="post-metadata">

**Author:** ![apaulsen](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@apaulsen](https://discuss.elastic.co/u/apaulsen)\
**Post date:** [May 16, 2019, 6:38pm UTC](https://discuss.elastic.co/t/deleted-deployment-is-still-visible-under-ui-deployments/180713/6 "2019-05-16T18:38:39Z")

</div>

> [@Alex\_Piggott](#):
>
> [http://xyz.abc.com:12400/region/ece-region/deployment/504e4bc094f346be93b4d06b5a599ad5](http://xyz.abc.com:12400/region/ece-region/deployment/504e4bc094f346be93b4d06b5a599ad5)
> 
> Which part of it is accepted by API for "v1-elasticsearch-clust

Thank you for answering my question, but I made this before, means I've opened the page with DELETE opening a text box.  
Here starts the "problem":

Which part of "  
[http://xyz.abc.com:12400/region/ece-region/deployment/504e4bc094f346be93b4d06b5a599ad5](http://xyz.abc.com:12400/region/ece-region/deployment/504e4bc094f346be93b4d06b5a599ad5)" in combination with "v1-elasticsearch-clusters-ece-region/elasticsearch-cluster/" should I put into the text box?

![image](https://us1.discourse-cdn.com/elastic/original/3X/3/b/3bf567df3159d74c353bd293dcccfec5f68dedb7.png)

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [May 16, 2019, 7:22pm UTC](https://discuss.elastic.co/t/deleted-deployment-is-still-visible-under-ui-deployments/180713/7 "2019-05-16T19:22:54Z")

</div>

Apologies for the confusion .. put it in the text box that currently says `/_search` (ie the URL bar), not the JSON box which you should leave empty

Alex

---

<div class="post-metadata">

**Author:** ![apaulsen](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@apaulsen](https://discuss.elastic.co/u/apaulsen)\
**Post date:** [May 16, 2019, 9:54pm UTC](https://discuss.elastic.co/t/deleted-deployment-is-still-visible-under-ui-deployments/180713/8 "2019-05-16T21:54:50Z")

</div>

> [@Alex\_Piggott](#):
>
> v1-elasticsearch-clusters-ece-region/elasticsearch-cluster/

Thank you - success! 🙃

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 30, 2019, 9:54pm UTC](https://discuss.elastic.co/t/deleted-deployment-is-still-visible-under-ui-deployments/180713/9 "2019-05-30T21:54:51Z")

</div>

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