Complete a task using api rest

Complete a task using api rest

Good day.
I want to finish a task using bonita's rest api.
What is the endpoint or endpoints that I should use?

I have already managed to take or release a task with the endpoint
http://localhost:8080/bonita/API/bpm/humanTask/1240015
and with the bodysuit
{"assigned_id":4 }

but if i want to set
{"state": "completed"}
it does not allow me to do this put

some help?

Notifications