func (s *organizationService) RemoveOrganizationMember(
	ctx context.Context,
	organizationId string,
	userId string,
) (_ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	_, err := s.client.RemoveOrganizationMember(
		ctx,
		&v1alpha1.RemoveOrganizationMemberRequest{
			OrganizationId: organizationId,
			UserId:         userId,
		},
	)
	if err != nil {
		return err
	}
	return nil
}
// RemoveOrganizationMember remove the role of an user in the organization.
RemoveOrganizationMember remove the role of an user in the organization.
// RemoveOrganizationMember remove the role of an user in the organization .
func (s *organizationService) RemoveOrganizationMember(
	ctx context.Context,
	organizationId string,
	userId string,
) (_ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	_, err := s.client.RemoveOrganizationMember(
		ctx,
		&v1alpha1.RemoveOrganizationMemberRequest{
			OrganizationId: organizationId,
			UserId:         userId,
		},
	)
	if err != nil {
		return err
	}
	return nil
}
func ( s * organizationService ) RemoveOrganizationMember ( ctx context . Context , organizationId string , userId string , ) ( _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } _ , err := s . client . RemoveOrganizationMember ( ctx , & v1alpha1 . RemoveOrganizationMemberRequest { OrganizationId : organizationId , UserId : userId , } , ) if err != nil { return err } return nil }
RemoveOrganizationMember remove the role of an user in the organization.
RemoveOrganizationMember remove the role of an user in the organization .