FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL |
http://<datasource-url>/deleteDatasource
|
---|---|
Parent Resource | Datasource |
The deleteDatasource operation deletes a datasource from an SDS instance. Note the services which use the datasource are not deleted, but they will no longer function.
Parameter | Details |
---|---|
f |
Description: The response format. The default
response format is html. Values: html | json | pjson |
Example 1: Delete a datasource with the name "ProductionSedona":
http://sampleserver10.arcgisonline.com/arcgis/admin/datasources/ProductionSedona/deleteDatasource{ "success": <true|false>, "error": { "code": <code>, "message": "<description>", "details": [ "<message>" ] } }
{ "success" : true }
{ "error" : { "code" : 400, "message" : "", "details" : [ "Unable to connect to datasource." ] } }