arc_portal_servers: List ArcGIS Enterprise Servers

View source: R/portal-servers.R

arc_portal_serversR Documentation

List ArcGIS Enterprise Servers

Description

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

## Not run: 
set_arc_token(auth_user())
arc_portal_servers()

## End(Not run)

arcgisutils documentation built on March 4, 2026, 9:06 a.m.