This function adds roles to a team user.
Note:
This action may result in team users gaining access to team owner level privileges.
uapi --output=jsonpretty \ --user=username \ Team \ add_roles \ user='teamuser' \ role='database'
{- "apiversion": 3,
- "func": "add_roles",
- "module": "Team",
- "result": {
- "data": { },
- "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}