CodeStar / Client / disassociate_team_member
disassociate_team_member#
- CodeStar.Client.disassociate_team_member(**kwargs)#
- Removes a user from a project. Removing a user from a project also removes the IAM policies from that user that allowed access to the project and its resources. Disassociating a team member does not remove that user’s profile from AWS CodeStar. It does not remove the user from IAM. - See also: AWS API Documentation - Request Syntax - response = client.disassociate_team_member( projectId='string', userArn='string' ) - Parameters:
- projectId (string) – - [REQUIRED] - The ID of the AWS CodeStar project from which you want to remove a team member. 
- userArn (string) – - [REQUIRED] - The Amazon Resource Name (ARN) of the IAM user or group whom you want to remove from the project. 
 
- Return type:
- dict 
- Returns:
- Response Syntax - {}- Response Structure - (dict) – 
 
 - Exceptions - CodeStar.Client.exceptions.ProjectNotFoundException
- CodeStar.Client.exceptions.ValidationException
- CodeStar.Client.exceptions.InvalidServiceRoleException
- CodeStar.Client.exceptions.ConcurrentModificationException