code: def delete_evpn_local(route_type, route_dist, **kwargs):
      
      try:
          tm = CORE_MANAGER.get_core_service().table_manager
          tm.update_vrf_table(route_dist,
                              route_family=VRF_RF_L2_EVPN,
                              route_type=route_type, is_withdraw=True, **kwargs)
          # Send success response.
          return [{EVPN_ROUTE_TYPE: route_type,
                   ROUTE_DISTINGUISHER: route_dist,
                   VRF_RF: VRF_RF_L2_EVPN}.update(kwargs)]
      except BgpCoreError as e:
          raise PrefixError(desc=e)
docs: Deletes/withdraws EVPN route from VRF identified by *route_dist*.