# EPM /api/fleet/epm/packages/\_bulk\_uninstall fails in v8.17.4

**URL:** <https://discuss.elastic.co/t/epm-api-fleet-epm-packages-bulk-uninstall-fails-in-v8-17-4/381144>\
**Category:** Kibana\
**Created:** [August 19, 2025, 8:44pm UTC](https://discuss.elastic.co/t/epm-api-fleet-epm-packages-bulk-uninstall-fails-in-v8-17-4/381144 "2025-08-19T20:44:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pratiksha\_Aigal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pratiksha_aigal/32/144682_2.png) [@Pratiksha\_Aigal](https://discuss.elastic.co/u/Pratiksha_Aigal)\
**Post date:** [August 19, 2025, 8:44pm UTC](https://discuss.elastic.co/t/epm-api-fleet-epm-packages-bulk-uninstall-fails-in-v8-17-4/381144/1 "2025-08-19T20:44:38Z")

</div>

Hi,  
I am trying out the EPM package manager to install and uninstall integration packages in kibana.

URL used:

```auto
:POST kbn:/api/fleet/epm/packages/_bulk_uninstall

{"force":false,"packages":[{"name":"mongodb_atlas","version":"1.1.0"}]}

```

While this works in v9.1.0, the same syntax throws below error in v 8.17.4

```auto
Error:{

  "statusCode": 400,

"error": "Bad Request",

"message": """[request body]: types that failed validation:

- [request body.0.packages]: definition for this key is missing

- [request body.1]: expected value to equal [null]"""

}

```

Any leads would be helpful.  
Thanks!

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 20, 2025, 3:34am UTC](https://discuss.elastic.co/t/epm-api-fleet-epm-packages-bulk-uninstall-fails-in-v8-17-4/381144/2 "2025-08-20T03:34:10Z")

</div>

Hi @Pratiksha_Aigal, Welcome to the community...

I see the same thing, let me see I will ask internally to see if I get an answer

BTW Single Delete works

Single Delete work

```auto
DELETE kbn:/api/fleet/epm/packages/eset_protect/1.8.0
{
  "items": [
    {
      "id": "eset_protect-186ccfba-ed02-4f7a-a46d-a58ec636688a",
      "type": "dashboard"
    },
    {
      "id": "eset_protect-99f893a6-1b3d-412f-9a03-46035f2fa9d5",
      "type": "dashboard"
    },
........
    {
      "id": "logs-eset_protect.event@custom",
      "type": "component_template"
    }
  ]
} 

```

---

<div class="post-metadata">

**Author:** ![nchaulet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nchaulet/32/77896_2.png) [@nchaulet](https://discuss.elastic.co/u/nchaulet)\
**Post date:** [August 20, 2025, 12:54pm UTC](https://discuss.elastic.co/t/epm-api-fleet-epm-packages-bulk-uninstall-fails-in-v8-17-4/381144/3 "2025-08-20T12:54:13Z")

</div>

Hi @Pratiksha_Aigal

The new bulk uninstall feature was introduced only in 9.1, (with some a new UI, and some other APIs to manage bulk operation on packages). The error you encounter in 8.17 seems expected, as it’s probably the regular `POST kbn:/api/fleet/packages/{pkgName}` that is handling your request.

---

<div class="post-metadata">

**Author:** ![Pratiksha\_Aigal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pratiksha_aigal/32/144682_2.png) [@Pratiksha\_Aigal](https://discuss.elastic.co/u/Pratiksha_Aigal)\
**Post date:** [August 20, 2025, 2:13pm UTC](https://discuss.elastic.co/t/epm-api-fleet-epm-packages-bulk-uninstall-fails-in-v8-17-4/381144/4 "2025-08-20T14:13:29Z")

</div>

okay that helps, Thanks!

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 20, 2025, 2:19pm UTC](https://discuss.elastic.co/t/epm-api-fleet-epm-packages-bulk-uninstall-fails-in-v8-17-4/381144/5 "2025-08-20T14:19:59Z")

</div>

@Pratiksha_Aigal

There is a version selector for the docs... I was looking at the wrong version as well.

 ![Screenshot 2025-08-20 at 7.19.16 AM](https://us1.discourse-cdn.com/elastic/original/3X/1/4/148f4bf3951c8884f0a7f99d3045e29ba92aa866.png)
