Delete Network Category (Utility Network)


Deletes a network category in a utility network.


  • A network category cannot be deleted if it is assigned to an asset type. A network category can be unassigned using the Set Network Category tool.

  • When working with an enterprise geodatabase, the connected ArcGIS Enterprise portal account must be the portal utility network owner.

  • The network topology must be disabled.

  • When working with an enterprise geodatabase, this tool must be executed when connected to the default version.


DeleteNetworkCategory(in_utility_network, category_name)
ParameterExplanationData Type

The utility network that contains the network category to be deleted.

Utility Network; Utility Network Layer

The name of the network category to delete.


Derived Output

NameExplanationData Type

The updated utility network.

Utility Network

Code sample

DeleteNetworkCategory example (Python window)

Delete the Disconnect network category in a utility network.

import arcpy
arcpy.DeleteNetworkCategory_un('Utility Network', 'Disconnect')


This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Yes
  • Advanced: Yes

Related topics