original_string: public function unsubscribe($email_id, $delete_member = false, $send_goodbye = true, $send_notify = true, $email_identifier = 'email')
      {
  
          if (!in_array($email_identifier, array("email", "euid", "leid")))
              throw new InvalidArgumentException('email identifier should be one of ("email","euid","leid")');
  
          $payload = array(
              'id' => $this->listId,
              'email' => array(
                  $email_identifier => $email_id
              ),
              'delete_member' => $delete_member,
              'send_goodbye' => $send_goodbye,
              'send_notify' => $send_notify
          );
  
          $apiCall = 'lists/unsubscribe';
          $data = $this->requestMonkey($apiCall, $payload);
          $data = json_decode($data, true);
          if (isset($data['error']))
              throw new MailchimpAPIException($data);
          else
              return true;
      }
code: public function unsubscribe($email_id, $delete_member = false, $send_goodbye = true, $send_notify = true, $email_identifier = 'email')
      {
  
          if (!in_array($email_identifier, array("email", "euid", "leid")))
              throw new InvalidArgumentException('email identifier should be one of ("email","euid","leid")');
  
          $payload = array(
              'id' => $this->listId,
              'email' => array(
                  $email_identifier => $email_id
              ),
              'delete_member' => $delete_member,
              'send_goodbye' => $send_goodbye,
              'send_notify' => $send_notify
          );
  
          $apiCall = 'lists/unsubscribe';
          $data = $this->requestMonkey($apiCall, $payload);
          $data = json_decode($data, true);
          if (isset($data['error']))
              throw new MailchimpAPIException($data);
          else
              return true;
      }
code_tokens: public function unsubscribe ( $ email_id , $ delete_member = false , $ send_goodbye = true , $ send_notify = true , $ email_identifier = 'email' ) { if ( ! in_array ( $ email_identifier , array ( "email" , "euid" , "leid" ) ) ) throw new InvalidArgumentException ( 'email identifier should be one of ("email","euid","leid")' ) ; $ payload = array ( 'id' => $ this -> listId , 'email' => array ( $ email_identifier => $ email_id ) , 'delete_member' => $ delete_member , 'send_goodbye' => $ send_goodbye , 'send_notify' => $ send_notify ) ; $ apiCall = 'lists/unsubscribe' ; $ data = $ this -> requestMonkey ( $ apiCall , $ payload ) ; $ data = json_decode ( $ data , true ) ; if ( isset ( $ data [ 'error' ] ) ) throw new MailchimpAPIException ( $ data ) ; else return true ; }
docstring: Unsubscribe the given email address from the list
  
  @link http://apidocs.mailchimp.com/api/2.0/lists/unsubscribe.php
  @param string $email_id
  @param boolean $delete_member
  @param boolean $send_goodbye
  @param boolean $send_notify
  @param string $email_identifier optional can be (email,euid, leid)
  @return boolean true on success
  @throws InvalidArgumentException
  @throws MailchimpAPIException
docstring_tokens: Unsubscribe the given email address from the list