- URL:
 - https://<root>/<serviceName>/NetworkDiagramServer/deleteDiagram
 - Methods:
 POST- Version Introduced:
 - 10.6
 
Description
The delete 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
| Parameter | Details | 
|---|---|
  | 
 The name of the geodatabase version. Syntax:  Example:   | 
  | 
 The token (guid) used to lock the version. Syntax:  Example:   | 
 (Required)  | The name of the network diagram to delete. Syntax:  Example:   | 
  | 
 The response format. The default response format is html. Values:   | 
Example Usage
Deleting the diagram name "MyTest1"; that is:
- 
URL:
https://myserver.esri.com/server/rest/services/Naperville_ Post/Network Diagram Server/delete Diagram  - 
Parameters:
Use dark colors for code blocks Copy gdbVersion= sessionId= name=MyTest1 f=pjson - 
Sent URL (GET):
https://myserver.esri.com/server/rest/services/Naperville_ Post/Network Diagram Server/delete Diagram?gdb Version=&session Id=&name=My Test1&f=pjson  
JSON Response Syntax
{"moment": <moment>
JSON Response Example
{
 "moment": 1490875600791
}