curl --request PATCH \
--url http://localhost:3333/v1/tasks/bulk \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"taskIds": [
"tsk_abc123",
"tsk_def456"
],
"status": "in_progress",
"reviewDate": "2025-01-01T00:00:00.000Z"
}
'{
"updatedCount": 2
}Bulk update the status of multiple tasks
curl --request PATCH \
--url http://localhost:3333/v1/tasks/bulk \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"taskIds": [
"tsk_abc123",
"tsk_def456"
],
"status": "in_progress",
"reviewDate": "2025-01-01T00:00:00.000Z"
}
'{
"updatedCount": 2
}API key for authentication
Organization ID (required for session auth, optional for API key auth)
Tasks updated successfully
2
Was this page helpful?