Reject a task review
curl --request POST \
--url https://api.trycomp.ai/v1/tasks/{taskId}/reject \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/tasks/{taskId}/reject', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/tasks/{taskId}/reject"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Tasks
Reject a task review | Comp AI API
Reject a task that is in review. Only the assigned approver can reject. Reverts status to the previous status and creates an audit comment.
POST
/
v1
/
tasks
/
{taskId}
/
reject
Reject a task review
curl --request POST \
--url https://api.trycomp.ai/v1/tasks/{taskId}/reject \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/tasks/{taskId}/reject', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/tasks/{taskId}/reject"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Was this page helpful?

