def delete_record(self, dns_type, name):
record = self.get_record(dns_type, name)<EOL>content = self.request(<EOL>urllib.parse.urljoin(self.api_url, self.zone['<STR_LIT:id>'] + '<STR_LIT>' + record['<STR_LIT:id>']),<EOL>'<STR_LIT>'<EOL>)<EOL>return content['<STR_LIT:result>']['<STR_LIT:id>']<EOL>
Delete a dns record
:param dns_type:
:param name:
:return: