Approve or reject an approval task#

Request#

PUT https://{hostname}:{port}
    /cli/approval/task/{taskId}/close
Accept: application/json

Parameter Type Required Description
taskId string true The ID of the task.
Parameter Type Required Description
Accept application/json true  

This command takes a JSON request string or file. Use the following template for the request:

{
  "comment": "Comment to close the task with",
  "p:Property name": "Property value (Optional, 
  Repeatable)",
  "passFail": "Submit passed to approve, fail or any other value to fail"
}

Related CLI command: closeTask.

Parent topic: approval/task resource