# How do I disconnect a host in order to delete it?

**URL:** <https://discuss.elastic.co/t/how-do-i-disconnect-a-host-in-order-to-delete-it/334096>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [May 23, 2023, 9:49am UTC](https://discuss.elastic.co/t/how-do-i-disconnect-a-host-in-order-to-delete-it/334096 "2023-05-23T09:49:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![steman-provinzial](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@steman-provinzial](https://discuss.elastic.co/u/steman-provinzial)\
**Post date:** [May 23, 2023, 9:49am UTC](https://discuss.elastic.co/t/how-do-i-disconnect-a-host-in-order-to-delete-it/334096/1 "2023-05-23T09:49:19Z")

</div>

Hi there, I want to delete a host.  
I am following the documentation.  
In the ece GUI I could now push the button: Manage host -\> delete host  
Then comes the popup: Delete Host?  
The button is grayed out and I get the following text: 'Disconnect this host before deleting it.'

How do I disconnect a host?  
cheers  
steman

---

<div class="post-metadata">

**Author:** ![steman-provinzial](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@steman-provinzial](https://discuss.elastic.co/u/steman-provinzial)\
**Post date:** [May 23, 2023, 9:55am UTC](https://discuss.elastic.co/t/how-do-i-disconnect-a-host-in-order-to-delete-it/334096/2 "2023-05-23T09:55:09Z")

</div>

...does it mean, run this:  
docker rm -f frc-runners-runner frc-allocators-allocator $(docker ps -a -q); sudo rm -rf /mnt/data/elastic/ && docker ps -a  
....and then click the botton / button gets active?  
At least this is what worked for me.  
cheers  
steman

---

<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:** [June 6, 2023, 9:55am UTC](https://discuss.elastic.co/t/how-do-i-disconnect-a-host-in-order-to-delete-it/334096/3 "2023-06-06T09:55:34Z")

</div>

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