(data)
Edit the DNS Record
Edit the DNS Record
Edit the DNS Record
def editRecord(data):
    ''' Edit the DNS Record '''
    data['a'] = 'rec_edit'
    response = callAPI(data)
    if response['result'] == "success":
        return True
    else:
        return False
def editRecord ( data ) : data [ 'a' ] = 'rec_edit' response = callAPI ( data ) if response [ 'result' ] == "success" : return True else : return False