Teams
Attach Users to Team
Associates one or more users with an existing team
PUT
Associates one or more users with an existing team. This operation validates that all provided users exist and are already mapped in COR before attaching them to the team.
Path Parameters
External team ID
Request Body Requirements
Array of external user IDs to attach to the team
Known Errors
ZC001— Entity is not associated (team with the specified external ID not found) or missing associations for usersValidationError— Missing required fields or empty users array
Per-User Errors
When some users fail validation, the response still returns200 but includes an errors array alongside the successfully attached users. Each error object contains:
| Field | Type | Description |
|---|---|---|
user_id | integer | Internal COR user ID |
name | string | Error name |
code | string | Error code |
message | string | Human-readable description |
| Code | Name | Description |
|---|---|---|
UT011 | ALREADY_ASSIGNED | User is already assigned to this team |
UT012 | NOT_IN_WORKSPACE | User does not belong to the team’s workspace |
UT013 | WORKSPACE_CONFLICT | User already belongs to another team in the same workspace |

