Method Parameters
Removes a Group from a List.
- string DeleteGroup(string accessKey, int listID, int groupID, bool deleteUsers)
- accessKey: access key obtained using the Login method
- listID: ID of the list that the Group belongs to
- groupID: ID of the Group
- deleteUsers: flag that determines whether the recipients assigned to the Group will be removed from the system
IMPORTANT: Removing Recipients
Note that there is a flag to indicate whether the recipients contained in the Group should also be removed from the system, or simply unassigned from that Group.
Sample DeleteGroupResult Response
<DeleteGroupResult> <errorCode>0</errorCode> <errorDescription></errorDescription> </DeleteGroupResult>