# Camunda 8 - Unable to Delete Process Definition

**URL:** <https://forum.camunda.io/t/camunda-8-unable-to-delete-process-definition/65840>\
**Category:** Camunda 8 Topics\
**Created:** [November 12, 2025, 10:40pm UTC](https://forum.camunda.io/t/camunda-8-unable-to-delete-process-definition/65840 "2025-11-12T22:40:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikos\_M](https://forum.camunda.io/user_avatar/forum.camunda.io/nikos_m/32/33263_2.png) [@Nikos\_M](https://forum.camunda.io/u/Nikos_M)\
**Post date:** [November 12, 2025, 10:40pm UTC](https://forum.camunda.io/t/camunda-8-unable-to-delete-process-definition/65840/1 "2025-11-12T22:40:59Z")

</div>

For some reason I am unable to delete a process definition from the Camunda 8.8 (self managed) Operate UI:

 ![image](https://forum.camunda.io/uploads/default/original/3X/6/2/622ecec0e3d0a61e6b7070870df8a3e471e641c6.png)

There is no “Delete” button as it is supposed to be based on the documents: [Delete resources | Camunda 8 Docs](https://docs.camunda.io/docs/components/operate/userguide/delete-resources/)

What I am trying to achieve, is to stop old versions of a process definition to be startable. For example I have:

 ![image](https://forum.camunda.io/uploads/default/original/3X/5/c/5c86fa40e42eb813a09b5da7fcea7c239020bff4.png)

In Camunda 7 all of these older versions were not available. Why is this happening in Camunda 8?

---

<div class="post-metadata">

**Author:** ![cpbpm](https://forum.camunda.io/letter_avatar_proxy/v4/letter/c/919ad9/32.png) [@cpbpm](https://forum.camunda.io/u/cpbpm)\
**Post date:** [November 13, 2025, 5:28pm UTC](https://forum.camunda.io/t/camunda-8-unable-to-delete-process-definition/65840/2 "2025-11-13T17:28:13Z")

</div>

You can use the API to delete the process definition. Refer the thread.

> [@Process Definition Deletion with an API](https://forum.camunda.io/t/process-definition-deletion-with-an-api/65404):
>
> Hi, I’m using camunda 8.8 and I’m trying to delete process definitions using the API but failing. I have a process definition with no active instances, I send a POST request to /v2/resources/${resourceKey}/deletion where the resourceKey is the processDefinitionKey. The request returns 200, re-running the requests rends 404 not found, yet when calling /v2/process-definitions/search the process definition’s key is still there. More importantly it shows in Operate UI and (after the step with …

---

<div class="post-metadata">

**Author:** ![nathan.loding](https://forum.camunda.io/user_avatar/forum.camunda.io/nathan.loding/32/24171_2.png) [@nathan.loding](https://forum.camunda.io/u/nathan.loding)\
**Post date:** [November 13, 2025, 7:02pm UTC](https://forum.camunda.io/t/camunda-8-unable-to-delete-process-definition/65840/3 "2025-11-13T19:02:04Z")

</div>

@Nikos_M - the API is alternative, but you should be able to delete a definition in Operate. This is a good question, I am not seeing the “Delete” button either! Let me grab an engineer and take a deeper look.

---

<div class="post-metadata">

**Author:** ![Nikos\_M](https://forum.camunda.io/user_avatar/forum.camunda.io/nikos_m/32/33263_2.png) [@Nikos\_M](https://forum.camunda.io/u/Nikos_M)\
**Post date:** [November 13, 2025, 8:28pm UTC](https://forum.camunda.io/t/camunda-8-unable-to-delete-process-definition/65840/4 "2025-11-13T20:28:15Z")

</div>

Thank you for this critical response @nathan.loding , please let us know once you have any feedback.

---

<div class="post-metadata">

**Author:** ![nathan.loding](https://forum.camunda.io/user_avatar/forum.camunda.io/nathan.loding/32/24171_2.png) [@nathan.loding](https://forum.camunda.io/u/nathan.loding)\
**Post date:** [November 14, 2025, 4:16pm UTC](https://forum.camunda.io/t/camunda-8-unable-to-delete-process-definition/65840/5 "2025-11-14T16:16:36Z")

</div>

@Nikos_M - our engineering team had, at roughly the same time, identified this bug already! It only exists where resource based permissions are utilized. A bug fix has been completed and will be available in the next patch release (I don’t have a date for that yet, unfortunately). In the meantime, a temporary workaround is to use the API.

> <https://github.com/camunda/camunda/issues/38711>
>
> \### 
> 
> 
> 
> \### 
> 
> 
> 
> \### 
> 
> 
> 
> \### 
> 
> 
> 
> \### Description
> 
> Deleting resources is not possi…ble from Operate UI with enabled resource based permissions and a user with admin role.
> 
> \### Steps to reproduce
> 
> 1. In Console: Enable resource based permissions
> 2. In Identity: Assign the \`admin\` role to the current user
> 3. In Operate: Go to process instances list view
> 4. Select a process and version without any instances 
> or
> 5. Go to decision instances list view
> 6. Select a decision and version
> 
> 
> \### Current behavior
> 
> There is no Delete button to delete the selected resource (process definition or decision definition)
> 
> \### Expected behavior
> 
> There should be a Delete button to delete the selected resource (process definition or decision definition)
> 
> \### Workaround
> 
> The only known workaround is to delete a resource manually using the API.
> 
> \### Environment
> 
> SaaS
> 
> \### Version
> 
> \- Component Version: 8.8.0
> 
> 
> \### Rootcause
> 
> FE is reading the permissions from a permission array on the \`/api/processes/grouped\` endpoint. This endpoint currently returns the following permissions:
> 
> \`\`\`json 
> {
> "permissions": \[
> "CREATE\_PROCESS\_INSTANCE",
> "READ\_PROCESS\_DEFINITION",
> "READ\_PROCESS\_INSTANCE",
> "UPDATE\_USER\_TASK",
> "CANCEL\_PROCESS\_INSTANCE",
> "MODIFY\_PROCESS\_INSTANCE",
> "UPDATE\_PROCESS\_INSTANCE",
> "DELETE\_PROCESS\_INSTANCE",
> "READ\_USER\_TASK"
> \]
> }
> \`\`\`
> 
> \### Solution ideas
> 
> \#### Option 1
> 
> Remove proactive permission check and always show the delete button. The permission is then checked when the related API endpoint is called. In case the user is not authorized, there would be a notification in the Operate UI. This is consistent with other actions like single instance operations.
> 
> Pro: straight forward, simple implementation, frontend only
> Con: Button will always be visible
> 
> \#### Option 2
> 
> Align backend and frontend on the correct permission types.
> 
> Currently Operate FE is looking for \`DELETE\` permission. So it needs to be aligned which is the right permission. Potentially \`DELETE\_RESOURCE\` or \`DELETE\_PROCESS\` / \`DELETE\_DECISION\`.
> 
> \- BE needs to return that permission in the array
> \- FE needs to read that permission
> 
> Pro: Button will be visible depending on the permission
> Con: Not consistent with other actions, frontend and backend work needed
> 
> \### Dev -\> QA handover
> 
> Versions to validate:
> \- 8.8-SNAPSHOT
> \- 8.9-SNAPSHOT
> 
> Expected behavior:
> 
> \- The delete resource button is always visible (on decision instances list view and process instances list view)
> \- The button is not visible if no definition version is selected 
> \- The button is visible even if the user has no resource based permission for it. If the user clicks the button, the operation should not be triggered and an error notification should be shown in the UI
> 
> 
> \### Links
> 
> Support issue: https://jira.camunda.com/browse/SUPPORT-29731
> 
> 
> \### Automated Test Impact
> 
> \_No response\_

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [February 12, 2026, 4:17pm UTC](https://forum.camunda.io/t/camunda-8-unable-to-delete-process-definition/65840/6 "2026-02-12T16:17:07Z")

</div>

Closed on February 12, 2026, 4:17pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
