Unassign task

delete
https://api.box.com/2.0
/task_assignments/:task_assignment_id

Deletes a specific task assignment.

Request

application/json

Path Parameters

stringin pathrequired
12345

The ID of the task assignment.

Response

none

An empty response will be returned when the task assignment was successfully deleted.

application/jsonClient Error

Returns an error if the task assignment for the given ID does not exist or is inaccessible to your account.

You can now try out some of our APIs live, right here in the documentation.
Log In

Request Example

cURL
curl -X DELETE https://api.box.com/2.0/task_assignments/12345 \
     -H "Authorization: Bearer <ACCESS_TOKEN>"
.NET
await client.TasksManager.DeleteTaskAssignmentAsync("12345");
Java
BoxTaskAssignment taskAssignment = new BoxTaskAssignment(api, "id");
taskAssignment.delete();
Python
client.task_assignment(assignment_id='12345').delete()
print('The task assignment was successfully delete!')
Node
client.tasks.deleteAssignment('12345')
	.then(() => {
		// deletion succeeded — no value returned
	});