Delete Diagram (Network Diagram service)

Description

The deleteDiagram operation is performed on a Network Diagram Service resource. This operation returns the moment (date) the deleteDiagram operation happens.

It is used to delete a network diagram.

LicenseLicense:
The active portal account must be licensed with the ArcGIS Utility Network user type extension or the ArcGIS Trace Network user type extension to use this operation.

Request Parameters

Parameter

Details

gdbVersion

Description: The name of the geodatabase version.

Syntax: gdbVersion=<version>

Example: gdbVersion=ABV1

sessionId

Description: The token (guid) used to lock the version.

Syntax: sessionId=<guid>

Example: sessionId=44G259DE-87B0-407D-8F2E-DCB7665DD0F0

name

Required

Description: The name of the network diagram to delete.

Syntax: name=<diagramName>

Example: name=MyTest1

f

Description: The response format. The default response format is html.

Values: <html | json>

Example Usage

Deleting the diagram name "MyTest1"; that is:

JSON Response Syntax

{"moment": <moment>}

JSON Response Example

{
 "moment": 1490875600791
}