cancel a completed process with rest api
Summary
cancel a completed process with rest apiContent
In which way I can cancel a completed process with rest api?
I treid with this api:
https://xxxxxxxxx.integration.ocp.oraclecloud.com/ic/api/process/v1/processes/70003
with Basic Authentication and body { "id":"cancel" }, but it returns "Invalid action on process instance or user does not have privilege to perform this action"
But I am the process owner and the process is
{
"title": "Scheda Verde del 20-05-2020 - Test New | 201368",
"processId": "70003",
"processName": "SchedaVerdeProcess",
"priority": 5,
"ownedBy": "SchedaVerde.ProcessOwner",
"processNumber": 201362,
"createdBy": "xxxxxx",
"state": "COMPLETED",
"createdDate": "2020-05-20T12:33:37.000Z",
"updatedDate": "2020-05-20T12:41:06.000Z",