- URL:
- https://<adminRoot>/services/<serviceName>/FeatureServer/deleteFromDefinition
- Methods:
GET
Description
The delete
operation supports deleting a definition property from a hosted feature service. The result of this operation is a response indicating success or failure with error code and description.
Request parameters
Parameter | Details |
---|---|
| The |
| Support options for asynchronous processing. The default format is Values: |
| The response format. The default response format is Values: |
Example usage
Below is a sample URL used to access the delete
operation:
https://services.myserver.com/OrgID/ArcGIS/rest/admin/services/example1/FeatureServer/deleteFromDefinition
Example input for the delete
parameter:
{
"layers": [
{
"id": "0"
},
{
"id": "1"
}
]
}
JSON Response syntax
{
"success": <true|false>,
"error": {
"code": <code>,
"message": "<description>",
"details": [
"<message>"
]
}
}
JSON Response example
When delete
succeeds
{
"success": true
}
When delete
fails
{
"error": {
"code": 400,
"message": "",
"details": [
"Unable to delete feature service definition."
]
}
}