MCAPI::listInterestGroupDel
Delete a single Interest Group - if the last group for a list is deleted, this will also turn groups for the list off.
Signature
public function listInterestGroupDel(string
$id,
string
$group_name,
[int
$grouping_id = NULL] )
Parameters
$id
—
string
- the list id to connect to. Get by calling lists()
$group_name
—
string
- the interest group to delete
$grouping_id
—
int
- The grouping to delete the group from - get using listInterestGrouping() . If not supplied, the first grouping on the list is used.
Returns
- bool
- true if the request succeeds, otherwise an error will be thrown