deleteContactList method
Deletes a contact list and all of the contacts on that list.
May throw BadRequestException.
May throw ConcurrentModificationException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter contactListName :
The name of the contact list.
Implementation
Future<void> deleteContactList({
required String contactListName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v2/email/contact-lists/${Uri.encodeComponent(contactListName)}',
exceptionFnMap: _exceptionFns,
);
}