Can you provide me sample code for deleting a list.
Deleting a contact list actually just requires a DELETE call to the specific lists URI. You can find the specific lists URI by doing a GET call on the List Collection API found here.
Here is our documentation on deleting contact lists. If you have any further questions please let me know!
View API documentation, code samples, get your API key.