Hello. I need to overwrite a hosted feature layer using a Feature Class from a File Geodatabase using python. I cannot use a project file, because I haven't used one to create the feature classes to begin with.
I need to use the exact same settings in the Service Definition.
I can't really figure out how to do this.
If anybody has an idea I would appreciate it.