Delete Diagram (Network Diagrams)

URL:
https://<root>/<serviceName>/NetworkDiagramServer/deleteDiagram
Methods:
POST
Version Introduced:
10.6

Description

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

Request Parameters

ParameterDetails

gdbVersion

The name of the geodatabase version.

Syntax: gdbVersion=<version>

Example: gdbVersion=ABV1

sessionId

The token (guid) used to lock the version.

Syntax: sessionId=<guid>

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

name


(Required)

The name of the network diagram to delete.

Syntax: name=<diagramName>

Example: name=MyTest1

f

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:

    Use dark colors for code blocksCopy
    1
    2
    3
    4
    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

Use dark colors for code blocksCopy
1
2
3
{
 "moment": 1490875600791
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.