Method parameters
...
- If listId value > 0, the corresponding list is deleted. Values provided via autoId are ignored.
- If listId value =< 0 and autoId is defined, all the lists associated to the external identifier provided via autoId are deleted.
Note |
---|
The response of DeleteList method is different from many other MailUpSend methods because it includes "errorCode" only when call is not successful. If this inconsistency is critical for your client application you can use DeleteList_st method instead (recommended choice). |
Sample DeleteList response
...
The XML string will have the following features:
- A root node <DeleteLists>.
- A node <Lists>, contained in the root node.
- A node <List> with the Id attribute containing the identifier of the deleted list
...
The XML string will have the following features:
- A root node <DeleteList>.
- A node <Error>, contained in the root node, returning the error message.
...