makeRequest( $this->endpoint . '/' . $id . '/contact/add/' . $leadId, array(), 'POST' ); } /** * Remove a lead from the list * * @param int $id List ID * @param int $leadId Lead ID * * @return array|mixed */ public function removeLead( $id, $leadId ) { return $this->makeRequest( $this->endpoint . '/' . $id . '/contact/remove/' . $leadId, array(), 'POST' ); } }