Skip to contents

The servers resource lists the ArcGIS Server sites that have been federated with the portal.

Usage

arc_portal_servers(
  id = arc_portal_self(token)[["id"]],
  host = arc_host(),
  token = arc_token()
)

Arguments

id

the portal ID. By default it fetches the id from arc_portal_self().

host

default "https://www.arcgis.com". The host of your ArcGIS Portal.

token

an object of class httr2_token as generated by auth_code() or related function

Value

a data.frame of servers

Examples

if (FALSE) { # \dontrun{
set_arc_token(auth_user())
arc_portal_servers()
} # }