We have several feature layers published in AGOL that get updated almost daily for our public web applications hosted on our Hub Site. Recently, some of the rest end point index numbers have been changing from /FeatureServer/0 to something like /FeatureServer/36. All of our layers are published out of ArcGIS Pro and are always overwritten. There is no grouping, so every layer is its own service.
My question is, how is the index changing and what can we do to restore all the URL's back to /FeatureServer/0 which is how all the ones that have been changed originally were?
Below is an example of what use to be 0 and is now 36 for some reason. This breaks all my apps published online.

Thank you!