Approve or reject an approval task
Request
PUT https://{hostname}:{port}
/cli/approval/task/{taskId}/close
Accept: {contentType}
Parameter | Type | Required | Description |
---|---|---|---|
taskId | string | true | The ID of the task. |
Parameter | Type | Required | Description |
---|---|---|---|
Accept |
|
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 to fail"
}
Related CLI command: closeTask.