Teams
Add Users to Team
Adds users to a specified team with assigned roles. With user permissions, the team must be one the requesting user has edit access to. With admin permissions, users can be added to any team belonging to the account.
post/v1/teams/{id}/users/add
Path parameters
idnumber required
ID of the team to which to add users.
Headers
Lucid-Request-Asstring
If the requesting user is an account owner, team admin, or team manager with the required permissions and they make the request with the value of “admin” as this header and include an admin scope, the request will be made using their admin permissions.
Request body
Example request
{
"users": [
{
"userId": 321,
"role": "EDIT_MEMBER"
}
]
}Response
No Content. The users were successfully added to the team with their assigned roles. If requesting as admin, users may have been added even though the authenticated user does not have direct access to the specified team.