lib/API.php
public function remove_from_drip_campaign($recipient_address, $drip_campaign_id){
        $endpoint = "drip_campaigns/" . $drip_campaign_id . "/deactivate";

        $payload = array(
            "recipient_address" => $recipient_address
        );

        return $this->api_request($endpoint, self::HTTP_POST, $payload);
    }
public function remove_from_drip_campaign($recipient_address, $drip_campaign_id){
        $endpoint = "drip_campaigns/" . $drip_campaign_id . "/deactivate";

        $payload = array(
            "recipient_address" => $recipient_address
        );

        return $this->api_request($endpoint, self::HTTP_POST, $payload);
    }
public function remove_from_drip_campaign ( $ recipient_address , $ drip_campaign_id ) { $ endpoint = "drip_campaigns/" . $ drip_campaign_id . "/deactivate" ; $ payload = array ( "recipient_address" => $ recipient_address ) ; return $ this -> api_request ( $ endpoint , self :: HTTP_POST , $ payload ) ; }
Remove customer from drip campaign

@param string $recipient_address email address being removed drip campaign
@param string $drip_campaign_id drip campaign being removed to
@return array API response object
Remove customer from drip campaign