Skip to main content
PATCH
/
v1
/
tasks
/
bulk
/
assignee
Update assignee for multiple tasks
curl --request PATCH \
  --url http://localhost:3333/v1/tasks/bulk/assignee \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "taskIds": [
    "tsk_abc123",
    "tsk_def456"
  ],
  "assigneeId": "mem_abc123"
}
'
{
  "updatedCount": 2
}

Authorizations

X-API-Key
string
header
required

API key for authentication

Headers

X-Organization-Id
string

Organization ID (required for session auth, optional for API key auth)

Body

application/json
taskIds
string[]
required
Example:
["tsk_abc123", "tsk_def456"]
assigneeId
string | null

Assignee member ID, or null to unassign

Example:

"mem_abc123"

Response

Tasks updated successfully

updatedCount
number
Example:

2