powered by
The servers resource lists the ArcGIS Server sites that have been federated with the portal.
arc_portal_servers( id = arc_portal_self(token)[["id"]], host = arc_host(), token = arc_token() )
a data.frame of servers
the portal ID. By default it fetches the id from arc_portal_self().
id
arc_portal_self()
default "https://www.arcgis.com". The host of your ArcGIS Portal.
"https://www.arcgis.com"
an object of class httr2_token as generated by auth_code() or related function
httr2_token
auth_code()
if (FALSE) { set_arc_token(auth_user()) arc_portal_servers() }
Run the code above in your browser using DataLab