# Cannot decommission 2 devices

**URL:** <https://hub.mender.io/t/cannot-decommission-2-devices/3949>\
**Category:** General Discussions\
**Created:** [August 1, 2021, 6:50am UTC](https://hub.mender.io/t/cannot-decommission-2-devices/3949 "2021-08-01T06:50:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![uishon](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/uishon/32/1326_2.png) [@uishon](https://hub.mender.io/u/uishon)\
**Post date:** [August 1, 2021, 6:50am UTC](https://hub.mender.io/t/cannot-decommission-2-devices/3949/1 "2021-08-01T06:50:18Z")

</div>

2 devices I’ve got cannot be decommissioned. Devices were never “fully” registered (the UI says it’s waiting for inventory data from the device for a couple of days already) but cannot be decommissioned. No error message though. (BTW, when querying for the list of devices using mender-cli, these 2 devices do not show up - if that helps…)

---

<div class="post-metadata">

**Author:** ![lramirez](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lramirez/32/1195_2.png) [@lramirez](https://hub.mender.io/u/lramirez)\
**Post date:** [August 2, 2021, 7:45pm UTC](https://hub.mender.io/t/cannot-decommission-2-devices/3949/2 "2021-08-02T19:45:33Z")

</div>

Hi @uishon,

Do you have any screenshots?  
Does it show any button for “Reject” the device? Or does it seems it was already “accepted”?  
As you are describing it, potentially it could be an issue on our side, so let us look there as well.

I will ping you back as soon as possible.

Luis

---

<div class="post-metadata">

**Author:** ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://hub.mender.io/u/Dave)\
**Post date:** [September 30, 2021, 2:24pm UTC](https://hub.mender.io/t/cannot-decommission-2-devices/3949/3 "2021-09-30T14:24:39Z")

</div>

@lramirez : I see the same issue here on our system (self-hosted mender server 3.0.x). The authentication status of the devices is accepted and there is only the option to select _decommission device_. The options to dismiss or reject the device is not available as shown in the screen shot.  
Also in our case the devices were never “fully” registerd.

Is there a solution available to delete these devices?

Thanks in advance.!

[screenshot|690x182](https://hub.mender.io/uploads/short-url/jid8M7nDK2WEvYAJBCqnCw58wlX.jpeg)

---

<div class="post-metadata">

**Author:** ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://hub.mender.io/u/Dave)\
**Post date:** [October 6, 2021, 3:53pm UTC](https://hub.mender.io/t/cannot-decommission-2-devices/3949/4 "2021-10-06T15:53:56Z")

</div>

Anyone suggestions how to get rid of these devices in Mender?

Thanks for the help.

---

<div class="post-metadata">

**Author:** ![lramirez](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lramirez/32/1195_2.png) [@lramirez](https://hub.mender.io/u/lramirez)\
**Post date:** [October 11, 2021, 10:23pm UTC](https://hub.mender.io/t/cannot-decommission-2-devices/3949/5 "2021-10-11T22:23:03Z")

</div>

Hey @tranchitella and @merlin, do you have any input on how to remove this device?

---

<div class="post-metadata">

**Author:** ![peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter](https://hub.mender.io/u/peter)\
**Post date:** [October 15, 2021, 10:31am UTC](https://hub.mender.io/t/cannot-decommission-2-devices/3949/6 "2021-10-15T10:31:54Z")

</div>

Hey Dave,

nice to hear from you again 🙂  
did you try the APIs to remove all the authsets: [Mender API docs](https://docs.mender.io/api/#management-api-device-authentication-reject-authentication) and then decommission?

pg

---

<div class="post-metadata">

**Author:** ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://hub.mender.io/u/Dave)\
**Post date:** [October 22, 2021, 8:43am UTC](https://hub.mender.io/t/cannot-decommission-2-devices/3949/7 "2021-10-22T08:43:30Z")

</div>

Hi @peter ,

Sorry for the late response but I did not get a notification about your message.

In the meantime I cleared the complete database and started from scratch.  
Maybe a rigorous action but it solved my problem 😉
