Skip to content

Assigns a user to a task

POST
/api/v1/Task/{taskId}/assignees

Sample request:

POST /api/v1/Task/{taskId}/assignees
{
    "user_id": "123e4567-e89b-12d3-a456-426614174000"
}

Authorizations

Parameters

Path Parameters

taskId
required
string format: uuid

The unique identifier of the task

Request Body

Assignment request containing user ID

object
userId
required
string format: uuid

Responses

201

User successfully assigned to task

object
id
string format: uuid
taskId
string format: uuid
userId
string format: uuid
assignedDate
string format: date-time
user
object
id
string format: uuid
username
string
nullable
name
string
nullable
email
string
nullable
createdDate
string format: date-time
accessLevel
integer format: int32

400

Invalid assignment request

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties

403

Insufficient permissions to assign users

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties

404

Task or user not found

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties