Unable to delete process definition - getting 403


#1

Hi All,

I want to delete a deployed process definition as below (‘camunda_demo’ is process definition key) -

DELETE http://localhost:8080/engine-rest/process-definition/key/camunda_demo/delete?cascade=true&skipCustomListeners=true

But getting 403 error.

Thanks.


#2

According to the REST API docs it’s a permissions issue


#3

I added the Basic Aauthorization in the header while trying to delete from REST client.

Any idea - what additional steps I need to perform for the permission issue. Please suggest.

Thanks.


#4

If anybody has any idea that what additional permission is needed- please share.


#5

Hi @sahaUser,

Do you have permissions to delete this process definition?
https://docs.camunda.org/manual/7.9/user-guide/process-engine/authorization-service/#permissions-by-resource

Best regards,
Yana


#6

Hi

I am using the Basic Authorization for default demo user which I think has all the necessary access to delete.

Please suggest.