FRAMES | NO FRAMES Description | Parameters | Examples | Response
Delete Diagram (Operation)
URL http://<schematicdiagramtemplate-url>/deleteDiagram
Parent Resource Schematic Diagram Template

Description

The deleteDiagram operation is performed on a schematic diagram template resource. The result of this operation is a Schematic Diagram Information Object.

It is used to delete a diagram. This diagram is removed in the schematic dataset where it was stored.

Note: Schematics services published without the Editing operation enabled don't support the deleteDiagram operation.

Note: Locked diagrams cannot be deleted.

You can provide arguments to the deleteDiagram operation as query parameters defined in the parameters table below.

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json
name Required
Description: The diagram name.

Syntax:
name=<diagramName>

Example:
name=ESTANCIA

Example Usage

Since the S1_Schematics Schematics service is published without the Editing operation enabled, it doesn't support the deleteDiagram operation.
With the Editing operation enabled, you could delete the MPS_Goldmine schematic diagram based on the diagram template 2 under this service by executing the operation as follows:
http://servicesbeta6.esri.com/arcgis/rest/services/S1_Schematics/MapServer/exts/SchematicsServer/templates/2/deleteDiagram?name=MPS_Goldmine&f=pjson

JSON Response Syntax

<diagramInfoSyntax>

JSON Response Example

<diagramInfoExample>