Is there a way to delete a Geoportal service using ArcGIS Python API without using the item id? I need to delete a geocode service and publish it with the exact same name, weekly.
If I use the "itemid" than I can't make this an automated task, because each time you publish a service the "itemid" changes.. I know I can search for an item, but you can't delete an item from "gis.content.search".
I am using gis.content.get()