I am trying to build a script that updates/changes the basemap gallery group in portal settings to a custom created group as well as change the default map.
I have found the following Python API reference that talks about changing defaults:
But I am unable to find any code samples to walk me through it.
Has anyone used this before and can they send a sample of how to use this?
OR does anyone know of a better way to go about this?