- URL:
- https://<imageservice-url>/delete
- Methods:
POST
- Required Capability:
- Edit
- Version Introduced:
- 10.1
Description
The Delete Rasters operation is performed on an image service resource to delete one or more rasters from an image service.
You can provide arguments to the Delete Rasters operation as query parameters defined in the following parameters table:
Request parameters
Parameter | Details |
---|---|
|
The response format. The default response format is Values: |
| The object IDs of raster catalog items to be deleted. Syntax: Example: |
Example usage
Delete two rasters from an image service by specifying the following for raster
: 37,462
.
https
JSON Response syntax
{
"deleteResults" : [
{
"rasterId" : <rasterId1>,
"success" : <true | false>,
"error" : { //only if success is false
"code" : <code1>,
"description" : "<description1>"
}
},
{
"rasterId" : <rasterId2>,
"success" : <true | false>,
"error" : { //only if success is false
"code" : <code2>,
"description" : "<description2>"
}
}
]
}
JSON Response example
{
"deleteResults" : [
{
"rasterId" : 37,
"success" : true
},
{
"rasterId" : 462,
"success" : true
}
]
}