ArcGIS Tracker is used to track the movement of mobile users. At times, the locations are deleted to reset the movement of the users or remove unnecessary tracks from the record. However, location sharing layers do not indicate the Delete Features capability in the feature layer definition. In ArcGIS Online, this is accomplished via ArcGIS REST API using the Delete Features operation. The workflow to delete tracks from the location sharing layer using the Delete Features operation in ArcGIS REST API is demonstrated in this article.
Note: The ability to delete tracks is restricted to administrators.
Note: Deleting individual tracks directly is not supported in ArcGIS Online. Performing the following workflow deletes the tracks of the user entirely.
Note: For more information on the clauses used in this workflow, refer to ArcGIS Online: Deleting tracks.
When 'Completed' is returned in Status, the tracks are deleted from the location sharing layer.