Remove assignee from a task
Last updated 9 months ago
Successful Task Assignment deletion
const response = await fetch('https://www.taskade.com/api/v1/projects/{projectId}/tasks/{taskId}/assignees/{assigneeHandle}', { method: 'DELETE', headers: {}, }); const data = await response.json();
{ "ok": true, "item": { "id": "123e4567-e89b-12d3-a456-426614174000", "text": "text", "parentId": "123e4567-e89b-12d3-a456-426614174000", "completed": false } }
Task assignment
Successful Task assignment
const response = await fetch('https://www.taskade.com/api/v1/projects/{projectId}/tasks/{taskId}/assignees', { method: 'PUT', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "handles": [ "text" ] }), }); const data = await response.json();