SupportDeveloper ForumLogin
  • Overview
    • Introduction
    • Getting Started
    • Authentication
    • Error Handling
    • Pagination
    • Filtering
    • Ordering
    • Rate Limits
    • Permissions
    • Webhooks
    • MCP Server
    • Versioning
    • Changelog
    • Support
  • API v1 Reference
    • Projects Overview
    • Tasks Overview
    • Time Tracking Overview
    • Documents Overview
    • Search Overview
    • Companies Overview
    • Users Overview
    • Files & Images Overview
    • Custom Fields Overview
    • Workload & Planning Overview
    • Project Templates Overview
    • Login & Access Overview
    • API Management Overview
LogoLogo
SupportDeveloper ForumLogin
API v1 ReferenceTasks

Assigns a list of users to a given task

POST
https://api.awork.com/api/v1/tasks/:taskId/setassignees
POST
/api/v1/tasks/:taskId/setassignees
1curl -X POST https://api.awork.com/api/v1/tasks/taskId/setassignees \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '[
5 "123e4567-e89b-12d3-a456-426614174000"
6]'
Try it
204No Content
1{}
If a userId of an existing assignment is not present, the user will be unassigned from the task. <Check title="Required Permissions">Any authenticated user.</Check>
Was this page helpful?
Previous

Modifies a list of planned efforts of a given task.

Next
Built with

Authentication

AuthorizationBearer

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

Path parameters

taskIdstringRequiredformat: "uuid"
The id of the task.

Request

The list of user ids to assign.

Response

No Content
Modifies a list of planned efforts of a given task.

If a userId of an existing assignment is not present, the user will be unassigned from the task.

Required Permissions
Any authenticated user.