public function removeTeamMember($id_or_email)
    {
        $key = strpos($id_or_email, '@') ? 'email_address' : 'account_id';

        $response = $this->rest->post(
            static::TEAM_REMOVE_MEMBER_PATH,
            array($key => $id_or_email)
        );

        $this->checkResponse($response);

        return new Team($response);
    }
public function removeTeamMember($id_or_email)
    {
        $key = strpos($id_or_email, '@') ? 'email_address' : 'account_id';

        $response = $this->rest->post(
            static::TEAM_REMOVE_MEMBER_PATH,
            array($key => $id_or_email)
        );

        $this->checkResponse($response);

        return new Team($response);
    }
public function removeTeamMember ( $ id_or_email ) { $ key = strpos ( $ id_or_email , '@' ) ? 'email_address' : 'account_id' ; $ response = $ this -> rest -> post ( static :: TEAM_REMOVE_MEMBER_PATH , array ( $ key => $ id_or_email ) ) ; $ this -> checkResponse ( $ response ) ; return new Team ( $ response ) ; }
Removes the specified Account from the current Team

@param  string $id_or_email Account ID or email address of the Account to remove
@return Team
@throws BaseException
Removes the specified Account from the current Team