Skip To Content

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.

License:
The active portal account must be licensed with the ArcGIS Advanced Editing user type extension to use this operation.

Request Parameters

ParameterDetails
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:

  • URL: https://myserver.esri.com/server/rest/services/Naperville_Post/NetworkDiagramServer/deleteDiagram
  • Parameters:
    gdbVersion=
    sessionId=
    name=MyTest1
    f=pjson
  • Sent URL (GET): https://myserver.esri.com/server/rest/services/Naperville_Post/NetworkDiagramServer/deleteDiagram?gdbVersion=&sessionId=&name=MyTest1&f=pjson

JSON Response Syntax

{"moment": <moment>}

JSON Response Example

{
 "moment": 1490875600791
}