src/Services/ContactsListService.php
public function delete($listId, Contact $contact)
    {
        $contact->setAction(Contact::ACTION_REMOVE);
        $response = $this->_exec($listId, $contact);
        if (!$response->success()) {
            $this->throwError("ContactsListService:delete() failed", $response);
        }

        return $response->getData();
    }
public function delete($listId, Contact $contact)
    {
        $contact->setAction(Contact::ACTION_REMOVE);
        $response = $this->_exec($listId, $contact);
        if (!$response->success()) {
            $this->throwError("ContactsListService:delete() failed", $response);
        }

        return $response->getData();
    }
public function delete ( $ listId , Contact $ contact ) { $ contact -> setAction ( Contact :: ACTION_REMOVE ) ; $ response = $ this -> _exec ( $ listId , $ contact ) ; if ( ! $ response -> success ( ) ) { $ this -> throwError ( "ContactsListService:delete() failed" , $ response ) ; } return $ response -> getData ( ) ; }
Delete a Contact from listId
@param string $listId
@param Contact $contact
Delete a Contact from listId