Join BoxWorks 2024 to discover what's possible with content and AI!
Register now!Deletes a specific task assignment.
12345
The ID of the task assignment.
Returns an empty response when the task assignment was successfully deleted.
Returns an error if the task assignment for the given ID does not exist or is inaccessible to your account.
An unexpected client error.
curl -i -X DELETE "https://api.box.com/2.0/task_assignments/12345" \
-H "authorization: Bearer <ACCESS_TOKEN>"
await client.taskAssignments.deleteTaskAssignmentById(taskAssignment.id!);
client.task_assignments.delete_task_assignment_by_id(task_assignment.id)
await client.TaskAssignments.DeleteTaskAssignmentByIdAsync(taskAssignmentId: NullableUtils.Unwrap(taskAssignment.Id));
try await client.taskAssignments.deleteTaskAssignmentById(taskAssignmentId: taskAssignment.id!)
BoxTaskAssignment taskAssignment = new BoxTaskAssignment(api, "id");
taskAssignment.delete();
client.task_assignment(assignment_id='12345').delete()
print('The task assignment was successfully delete!')
await client.TasksManager.DeleteTaskAssignmentAsync("12345");
client.tasks.deleteAssignment('12345')
.then(() => {
// deletion succeeded — no value returned
});