For referenced feature layers brought into AGO from our enterprise server I can access the sourceUrl using item.sourceUrl. Is it possible to also update the sourceUrl?
I'd like to point the referenced feature layer at a different REST URL to update the underlying data without creating a new item and losing popup configuration, etc.