Hello Kevin,
Thank you for creating that blog.
I read your blog post and wrote a script based on it. I am currently coming across an issue and thought I would share it as you seem to have some experience in the domain.
I am trying to update the title of an item in open data, considering it is encased in a process with a script similar to yours (.aprx -> service definition -> hosted feature layer in AGOL).
Based on your expertise, do you think renaming the feature service might be the best solution?
Here is my post on geonet:
I’ve also opened a case but the analyst suggested renaming the service but I have not been able to find these functionalities on the admin REST for AGOL.
I saw you had created a tool to rename services (I assume using the REST api). I was wondering if I could possibly use it on my service in AGOL?
I’ve also tried https://developers.arcgis.com/rest/services-reference/update-definition-feature-service-.htm to no avail.