I am looking for a method to upload and replace multiple layers in ArcGIS Online that are stored within a (hosted) feature layer. I have the feature classes to be used to update (and identical in name) stored in a fgdb on my local drive.
Does anyone have any ideas or tips to a script that are able to perform what I am looking for? I am fairly new to scripting, and have not been able to find other suggestions that updates multiple layers in a feature layer and deletes the old ones.