FRAMES | NO FRAMES

 

B U S I N E S S   A N A L Y S T   10.2   R E S T   R E P O S I T O R Y   U T I L I T Y

Delete Custom Layer Endpoint

Deletes custom BDS file from Business Analyst Server User Data folder.

 

Availability: Business Analyst Server.

 

URL Example

http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/DeleteCustomLayer

Parameters

Parameter

Description

CustomLayerName (required)

Item name. Type string.

ActiveDatasetID (optional)

ID of the active dataset. Type string.

f (optional)

Response format. Type string. Available formats: HTML, JSON, PJSON, XML.

Default: HTML.

Returns

Variable of type boolean.

Remarks

If the custom layer is absent, this endpoint returns an error.

Example Usage

The example below demonstrates the deletion of an existing custom layer from Business Analyst Server User Data folder.

 

Request

http://localhost:6080/arcgis/rest/services/DefaultMap/MapServer/exts/BAServer/DeleteCustomLayer/execute?customlayername=RESTexample&f=json

 

Response

 

 

See Also

Business Analyst Server REST Reference