Ctct\ConstantContact::deleteContactFromList
Delete a contact from all contact lists
Signature
public function deleteContactFromList(string
$accessToken,
mixed
$contact,
mixed
$list )
Parameters
$accessToken
— string- - Constant Contact OAuth2 access token
$contact
— mixed- - Contact id or a Contact object
$list
— mixed- - ContactList id or a ContactList object
Returns
- boolean
Errors/Exceptions
-
IllegalArgumentException
- - if an int or Contact object is not provided,