for i, val in enumerate(cityIndex[item['city']]):
    if val['name'] == item['name']:
        break
del cityIndex[item['city']][i]
How to access all dictionaries within a dictionary where a specific key has a particular value