Does anyone have a sample script I can modify for my own use? I currently open a mxd with the layers in my table of contents and overwrite the features that way.
There's a blog on how to do this with Pro:
Which is built on using Python API, so you can look at that for functions you can use:
arcgis.gis module — arcgis 1.4.2 documentation
The publish item function has an "overwrite" parameter that can be used:
Publish Item—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers
I ended up using a script I found on GitHub to accomplish this. Thanks for your help.
Retrieving data ...