Query on Complete Task API

Hello Team,

I am new to Camunda. Can some one suggest me a solution for the given below problem.
How can we restrict the complete task API for a particular user which means
1.user-A is claimed the task so same user-A only can complete the task using Complete rest API

https://{hostname}/engine-rest/task/cba75f56-ac53-11ed-a635-0a58ac11136f/complete

but currently seems we do not have capability to restrict to complete the task whoever is claimed.
can someone please suggest whether it is possible with camunda inbuild API or needs to do the customization.


@Ingo_Richtsmeier could you please help us on the above problem.

Hi @vsomu,

this is handled with authorizations.

You have to enable authorizations at all. On top, you can enable addition task permissions: Authorization Service | docs.camunda.org

It is worth to read the whole section about the authorization service: Authorization Service | docs.camunda.org

Hope this helps, Ingo

1 Like