Skip to main content
POST
Assign collaborators to a task

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
integer
required

The ID of the task

Body

application/json
collaborators
integer[]
required

Array of user IDs that should be assigned to the task. Pass an empty array [] to remove all collaborators.

reasignEstimate
boolean
default:false

If true, redistributes the estimated hours evenly among the new collaborators.

Response

Returns the updated array of collaborators

id
integer
first_name
string
last_name
string
email
string<email>
picture
string
user_position_id
integer | null
role_id
integer
userPosition
object | null
pivot
object