Update assignee for multiple tasks
PATCH
/v1/tasks/bulk/assignee
const url = 'https://api.varman.io/v1/tasks/bulk/assignee';const options = { method: 'PATCH', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"taskIds":["tsk_abc123","tsk_def456"],"assigneeId":"mem_abc123"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.varman.io/v1/tasks/bulk/assignee \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "taskIds": [ "tsk_abc123", "tsk_def456" ], "assigneeId": "mem_abc123" }'Update assignee for multiple tasks in Varman. Manage compliance task lifecycle, assignments, review approvals, evidence uploads, policy links, and activity history.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
taskIds
required
Array<string>
Example
[ "tsk_abc123", "tsk_def456"]assigneeId
Assignee member ID, or null to unassign
string
Example
mem_abc123Responses
Section titled “Responses”Tasks updated successfully
Media typeapplication/json
object
updatedCount
number
Example
{ "updatedCount": 2}Invalid request body