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'
)
[REQUIRED]
The ID of the AWS CodeStar project from which you want to remove a team member.
[REQUIRED]
The Amazon Resource Name (ARN) of the IAM user or group whom you want to remove from the project.
dict
Response Syntax
{}
Response Structure
Exceptions
CodeStar.Client.exceptions.ProjectNotFoundException
CodeStar.Client.exceptions.ValidationException
CodeStar.Client.exceptions.InvalidServiceRoleException
CodeStar.Client.exceptions.ConcurrentModificationException