Unable to delete process definition - getting 403

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.

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

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.

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

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

Hi

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

Please suggest.