Skip to content

Reject a task review

POST
/v1/tasks/{taskId}/reject
curl --request POST \
--url https://api.varman.io/v1/tasks/tsk_abc123def456/reject \
--header 'X-API-Key: <X-API-Key>'

Reject a task that is in review. Only the assigned approver can reject. Reverts status to the previous status and creates an audit comment.

taskId
required
string

Example

tsk_abc123def456

Unique task identifier

Task rejected successfully

Task is not in review

Not the assigned approver