Approve or reject an approval task

Request

PUT https://{hostname}:{port}
    /cli/approval/task/{taskId}/close
Accept: application/json
Table 1. URL parameters
Parameter Type Required Description
taskId string true The ID of the task.
Table 2. Header parameters
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 pass to approve, fail to fail"
}

Related CLI command: closeTask.