Unassign a task

Unassign a task

To unassign a task, you will need to provide the DELETE /task_assignments API with the id of the task assignment.

cURL
curl -i -X DELETE "https://api.box.com/2.0/task_assignments/12345" \
     -H "Authorization: Bearer <ACCESS_TOKEN>"
Java
BoxTaskAssignment taskAssignment = new BoxTaskAssignment(api, "id");
taskAssignment.delete();
Python
client.task_assignment(assignment_id='12345').delete()
print('The task assignment was successfully delete!')

Permissions

The user deleting the assignment needs to be a collaborator on the file.