(rec, usrdata)
Delete the record from cloudflares zone
Delete the record from cloudflares zone
Delete the record from cloudflares zone
def delRecord(rec, usrdata):
    """ Delete the record from cloudflares zone """
    # Call api
    request = [('a', 'rec_delete')]
    request.append(('id', rec))
    json_data = callAPI(request, usrdata)

    # Check api results
    if json_data["result"] == "success":
        return True
    else:
        return False
def delRecord ( rec , usrdata ) : # Call api request = [ ( 'a' , 'rec_delete' ) ] request . append ( ( 'id' , rec ) ) json_data = callAPI ( request , usrdata ) # Check api results if json_data [ "result" ] == "success" : return True else : return False