# Delete homey.device

**URL:** https://community.homey.app/t/delete-homey-device/104565
**Category:** Developers
**Tags:** app, devices
**Created:** [February 21, 2024, 4:06pm UTC](https://community.homey.app/t/delete-homey-device/104565 "2024-02-21T16:06:55Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![julianao](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/julianao/32/79652_2.png) [@julianao](https://community.homey.app/u/julianao)
#### Post date: [February 21, 2024, 4:06pm UTC](https://community.homey.app/t/delete-homey-device/104565/1 "2024-02-21T16:06:55Z")

</div>

Is there a way to delete a device programmatically in Homey app code? Need to remove devices under certain conditions without user action.

---

<div class="post-metadata">

### Author: ![Paul\_van\_Ulft](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_van_ulft/32/56539_2.png) [@Paul\_van\_Ulft](https://community.homey.app/u/Paul_van_Ulft)
#### Post date: [February 23, 2024, 10:17am UTC](https://community.homey.app/t/delete-homey-device/104565/2 "2024-02-23T10:17:54Z")

</div>

Can not imagine that an app could deleteoneof my devices

---

<div class="post-metadata">

### Author: ![julianao](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/julianao/32/79652_2.png) [@julianao](https://community.homey.app/u/julianao)
#### Post date: [February 29, 2024, 12:19pm UTC](https://community.homey.app/t/delete-homey-device/104565/3 "2024-02-29T12:19:34Z")

</div>

My scenario involves removing a device automatically if its sharing permissions are revoked, ensuring I only have devices I currently have access to.

---

<div class="post-metadata">

### Author: ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)
#### Post date: [February 29, 2024, 3:38pm UTC](https://community.homey.app/t/delete-homey-device/104565/4 "2024-02-29T15:38:44Z")

</div>

Nope, not possible for a developer im afraid.
