Members
Last updated
Was this helpful?
Last updated
Was this helpful?
Endpoint to list team members.
Args: team_id: ID of the team for which to list the members. user: The authenticated user. rbac: RBAC component. db: The DB session.
Returns: List of team members.
User model for displaying user information.
Endpoint to add a team member.
Args: team_id: ID of the team to which to add a member. user_id: ID of the user to add to the team. user: The authenticated user. rbac: RBAC component. db: The DB session. organization_manager: Organization manager.
Raises: IllegalOperationError: If the user is not part of the teams organization.
No content
Endpoint to remove a member from a team.
Args: team_id: ID of the team from which to remove the user. user_id: ID of the user to remove from the team. user: The authenticated user. rbac: RBAC component. db: The DB session.
No content