Which administrative privileges does a custom user role need to use the REST endpoint /portals/self/updateUserLevel? Or, does this function belongs to a pure Administrator role only?
https://developers.arcgis.com/rest/users-groups-and-items/update-user-level.htm
I am using ArcGIS Enterprise 10.9.1.