# Admin delete composition

**URL:** <https://discourse.openehr.org/t/admin-delete-composition/4943>\
**Category:** Platform\
**Tags:** ehrbase\
**Created:** [18 February 2024 08:09 UTC](https://discourse.openehr.org/t/admin-delete-composition/4943 "2024-02-18T08:09:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![vidi42](https://discourse.openehr.org/user_avatar/discourse.openehr.org/vidi42/32/2609_2.png) [@vidi42](https://discourse.openehr.org/u/vidi42)\
**Post date:** [19 February 2024 12:30 UTC](https://discourse.openehr.org/t/admin-delete-composition/4943/3 "2024-02-19T12:30:16Z")

</div>

@surfer also make sure the `admin-api.enabled` is set to ture. In newer versions, spring security returns 401 in case a secured path doesn’t exist, so that might be another reason why you get a 401.

> <https://github.com/ehrbase/ehrbase/blob/develop/application/src/main/resources/application.yml#L117-L118>

---

_[View the full topic](https://discourse.openehr.org/t/admin-delete-composition/4943)._
