# Cannot delete managed object

**URL:** <https://community.cumulocity.com/t/cannot-delete-managed-object/12824>\
**Category:** Forum\
**Tags:** device-management\
**Created:** [October 14, 2025, 9:40am UTC](https://community.cumulocity.com/t/cannot-delete-managed-object/12824 "2025-10-14T09:40:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul.de-la-porte-des](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/paul.de-la-porte-des/32/32537_2.png) [@paul.de-la-porte-des](https://community.cumulocity.com/u/paul.de-la-porte-des)\
**Post date:** [October 14, 2025, 9:40am UTC](https://community.cumulocity.com/t/cannot-delete-managed-object/12824/1 "2025-10-14T09:40:21Z")

</div>

Hello, I have an issue with a managedObject : I can’t delete it, neither from the UI nor from a DELETE request on /inventory/managedObjects/xxx. I get a 422 :  
{  
“error”: “inventory/Invalid Data”,  
“message”: “Cannot delete managed object. : Cannot change binary metadata through inventory api.”,  
“info”: “[https://www.cumulocity.com/guides/reference-guide](https://www.cumulocity.com/guides/reference-guide)”  
}

However, I don’t find this error in the documentation… How should I delete my object ? Thanks for your time

Paul de La Porte

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [October 14, 2025, 9:43am UTC](https://community.cumulocity.com/t/cannot-delete-managed-object/12824/2 "2025-10-14T09:43:52Z")

</div>

Could it be that the ID you are providing is pointing to a binary and not to a managedObject?

If so try this endpoint: [Cumulocity - OpenAPI](https://cumulocity.com/api/core/#operation/deleteBinariesResource)

---

<div class="post-metadata">

**Author:** ![paul.de-la-porte-des](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/paul.de-la-porte-des/32/32537_2.png) [@paul.de-la-porte-des](https://community.cumulocity.com/u/paul.de-la-porte-des)\
**Post date:** [October 14, 2025, 9:51am UTC](https://community.cumulocity.com/t/cannot-delete-managed-object/12824/3 "2025-10-14T09:51:58Z")

</div>

It was exactly that, why can’t I delete it from the UI directly ? It is listed in the software archives

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [October 14, 2025, 9:55am UTC](https://community.cumulocity.com/t/cannot-delete-managed-object/12824/4 "2025-10-14T09:55:23Z")

</div>

Actually you should be able to delete it from UI: In Administration → Management → File Repository `<YourTenantURL>/apps/administration/index.html#/files`
