code: def delete_data_source(self, data_source):
          
          source_type = [k for k in data_source.keys()][0]
          complete_source = self.get_data_sources(
              source_id=data_source[source_type]['id'])
          folder_id = complete_source[source_type][0]['l']
          self.delete_folders(folder_ids=[folder_id])
          return self.request('DeleteDataSource', data_source)
docs: Delete data source with it's name or ID.
          data_source = { 'imap': {'name': 'data-source-name'}}
          or
          data_source = { 'pop3': {'id': 'data-source-id'}}