@classmethod
def del_record(cls, fqdn, name, type):
    """Delete record for a domain."""
    meta = cls.get_fqdn_info(fqdn)
    url = meta['domain_records_href']
    delete_url = url
    if name:
        delete_url = '%s/%s' % (delete_url, name)
    if type:
        delete_url = '%s/%s' % (delete_url, type)
    return cls.json_delete(delete_url)
