How do I delete a record from my custom module?

How do I delete a record from my custom module?

This is my code:
  1.     attList = zoho.crm.getRecords("CustomModule3");
  2.     for each myatt in attList
  3.     {
  4.         Record = map();
  5.         //Delete the attendee
  6.         attendeeId = myatt.get("CUSTOMMODULE3_ID");
  7.         Record = { "module" : "CustomModule3", "id" : attendeeId };
  8. deleteResp = zoho.crm.invokeConnector("crm.delete", Record);
  9.     }
I'm not getting a response and I dont understand what im doing wrong.