Method parameters
Deletes a list
- string DeleteList(stringaccessKey, int listID)
- accessKey: access key obtained using the Login method
- listID: ID of the list to be deleted
IMPORTANT: at least one list must always exist in the administration console. If all the lists were deleted, the system would not allow the creation of new lists via webservices. Should this happen, the only way to fix this issue would be creating a new list in the MailUp console.
Sample DeleteList response
<DeleteListResult> <errorCode>0</errorCode> <errorDescription></errorDescription> </DeleteListResult>