# EHRbase Delete Composition - 403 Forbidden **Category:** [Platform](https://discourse.openehr.org/c/platform-implem/7) **Created:** 2024-11-12 11:51 UTC **Views:** 51 **Replies:** 1 **URL:** https://discourse.openehr.org/t/ehrbase-delete-composition-403-forbidden/5908 --- ## Post #1 by @Madhurima Hi, I am trying to implement delete composition on my application using the delete composition endpoint : {{host}}/ehrbase/rest/openehr/v1/ehr/{{:ehrId}}/composition/{{:compositionId}} While hitting the endpoint from Postman the composition is getting deleted successfully, But while I am trying to hit the endpoint from my application frontend, I am getting 403 Forbidden with no other details. Example of the delete call: https://ehrbase002.ey.com/ehrbase/rest/openehr/v1/ehr/8f9b250f-b90b-438b-8191-82d9dd079223/composition/f668f73b-da0b-4a54-a46f-f598f3a2cf01::local.ehrbase.org::1 Any idea of what am I doing wrong? --- ## Post #2 by @jake.smolka It sounds like your application is not using (the correct) credentials. This is highly depending on your specific setup, application implementation and system + auth architecture. With a successful Postman example setup in place, make sure to recreate the auth setup from Postman within your application. --- **Canonical:** https://discourse.openehr.org/t/ehrbase-delete-composition-403-forbidden/5908 **Original content:** https://discourse.openehr.org/t/ehrbase-delete-composition-403-forbidden/5908