deleteFeatures

Function

import { deleteFeatures } from '@esri/arcgis-rest-feature-service';
//
deleteFeatures({
  url: "https://sampleserver6.arcgisonline.com/arcgis/rest/services/ServiceRequest/FeatureServer/0",
  objectIds: [1,2,3]
});

Delete features request. See the REST Documentation for more information.

Parameters

Parameter Type Default Notes
requestOptions Required IDeleteFeaturesRequestOptions

Returns

Promise<IDeleteFeaturesResult> - A Promise that will resolve with the deleteFeatures response.


Function defined in packages/arcgis-rest-feature-service/src/delete.ts:72