Skip To Content
ArcGIS Developer
Dashboard

/self: Portal Self (Organization)

Example usage

The following is a sample ArcGIS Online request URL used to access the self resource:

https://org.arcgis.com/sharing/rest/portals/self?f=pjson

The following is a sample ArcGIS Enterprise request URL used to access the self resource:

https://machine.domain.com/webadaptor/sharing/rest/portals/self?f=pjson

Description

The self resource returns the view of the portal as seen by the current user, whether anonymous or signed in. It includes information such as the name, logo, featured items, and supported protocols (HTTP or HTTPS) for the portal. If the user is not signed in, this call returns the default view of the portal. If the user is signed in, the view of the returned portal is specific to the organization to which the user belongs. The default view of the portal is dependent on the culture code of the user, which is obtained from the user's profile. A parameter to pass in the locale or culture code is available for anonymous users.

Request parameters

ParameterDetails
culture

The culture code of the calling client. The output is customized for this culture code if settings are available.

Values: culture code (for example, en-US)

region

The region code of the calling client. The output is customized for this region code if settings are available.

f

The response format. The default format is html.

Values: html | json | pjson

Portal self response properties

PropertyDetails
access

Determines who can view your organization as an anonymous user. Setting to public allows anonymous users to access your organization's custom URL. Setting to private restricts access to only members of your organization. The default is public.

Values: private | public

allowedBetaFeatures

An array of beta features that are enabled for the organization.

allowedOrigins

An array of up to 100 web app domains to restrict cross-origin resource sharing (CORS) access to the REST API. This property is only available to administrators.

allowedRedirectUris

A JSON array of allowed redirect URIs that represent portal instances with which you share secure content. This allows users in your organization to use organization logins to access the secured content through web apps hosted on these portals.

allSSL

Indicates whether the organization is using HTTPS. If set to true, all calls made using resources that belong to the organization require HTTPS. The default is false.

Values: true | false

analysisLayersGroupQuery

The query that identifies the group containing the layers shown in the Analysis Layers gallery for the analysis tools.

appInfo

Information about the application through which the resource was accessed. This information is based on the token used to access the resource.

authorizedCrossOriginDomains

An array of trusted servers that clients can send credentials to when making CORS requests to access web-tier secured services.

authorizedCrossOriginNoCorsDomains

Introduced at ArcGIS Enterprise 11.0. An array of trusted servers that JavaScript clients will initially send direct requests to handle authentication prior to making a (CORS) request. All trusted servers must already be listed in the authorizedCrossOriginDomains property prior to being added to this property. This property is only supported in ArcGIS Enterprise.

availableCredits

The total number of credits of the organization.

backgroundImage

The background image that displays behind all other components on the home page. Accept the default background image, specify a URL for a custom background image, or specify that no background image will be used.

basemapGalleryGroupQuery

The query that identifies the group containing the web maps that display in the Map Viewer basemap gallery.

bingKey

The Bing key to use for web maps using Bing Maps.

canListApps

An organization can list applications in the marketplace only if canListApps is true.

Values: true | false

canListData

An organization can list data services in the marketplace only if canListData is true.

Values: true | false

canListPreProvisionedItems

An organization can list preprovisioned items in the marketplace only if canListPreProvisionedItems is true.

Values: true | false

canProvisionDirectPurchase

An organization can provision direct purchases in the marketplace without a customer request only if canProvisionDirectPurchase is true.

Values: true | false

canSearchPublic

Includes or excludes public items, groups, and users in search queries. When canSearchPublic is false, no public items outside of the organization are included in searches. However, public items that are part of the organization are returned. The default is true.

Values: true | false

canShareBingPublic

The Bing key can be shared to the public and is returned as part of a portal's description call (/sharing/rest/portals/<orgid>). This requires that the access property of the portal be set to public. The canShareBingPublic property is not returned publicly and is only shown to users within the organization.

canSharePublic

Indicates whether an organization can share groups or items publicly. When canSharePublic is set to false, content cannot be shared with everyone. The default is true.

Values: true | false

canSignInArcGIS

Allows an organization with a configured enterprise IDP to turn on or off the ArcGIS sign in option. The default is true.

Values: true | false

canSignInIDP

Allows an organization with a configured enterprise IDP to turn on or off the enterprise sign in. The default is true.

Values: true | false

colorSetsGroupQuery

The query that identifies the group containing the color sets used for rendering in Map Viewer.

commentsEnabled

Allows the organization to disable commenting. The default is true. When commentsEnabled is false, comments are hidden but not removed, and numComments is set to zero for all items in the organization. Calls to add a comment and view comments will fail. If the organization reenables comments, the comments display and numComments is restored.

Values: true | false

contacts

An array of chosen administrators listed as points of contact whose email addresses will be listed as points of contact in the automatic email notifications sent to organization members when they request password resets, help with their usernames, modifications to their accounts, or any issues related to the allocation of credits to their accounts.

contentCategorySetsGroupQuery

The query that identifies the group containing the ArcGIS Online content category sets.

created

The date the organization was created, in UTC, using milliseconds since epoch.

creditAssignments

Indicates whether the organization has credit budgeting enabled. The default is disabled.

Values: enabled | disabled

culture

The default locale (language and country) information. The format for the culture code is based on a language code and a country code separated by a dash:

cultureFormat

The preferred number and date format according to CLDR. The cultureFormat property is only applicable to English and Spanish, that is, when culture is set to en or es.

See Languages for supported formats.

customBaseUrl

The custom base URL for the portal.

defaultBasemap

The default basemap displayed in Map Viewer.

defaultDevBasemap

The default basemap displayed in Map Viewer for developer subscriptions.

defaultExtent

The default extent of the organization, used when users create a web map.

defaultUserCreditAssignment

The default allocation of credits for new members. The value is -1 for no allocated limit.

defaultVectorBasemap

The default vector basemap displayed in Map Viewer when useVectorBasemaps is true.

description

The description of the organization. The description can be any length.

devbasemapGalleryGroupQuery

The query that identifies the group containing the web maps that display in the Map Viewer basemap gallery for developer subscriptions.

eueiEnabled

Indicates whether the organization allows ArcGIS Online to collect usage information from its members to improve the user experience.

featuredGroups

The featured groups for the organization. These are the groups that are highlighted on the Groups page in the portal home app.

featuredItemsGroupQuery

The query that identifies the group containing featured items for the gallery. Set a Group ID or, if null, the most viewed items in your organization are displayed in the gallery.

galleryTemplatesGroupQuery

The query that identifies whether the group containing gallery templates is allowed to build galleries that showcase the web maps and web mapping apps within a group.

hasCategorySchema

Indicates whether the organization has a content category set up.

helpBase

Provides the base URL for your organization's help documentation, which builds all the help URLs in the portal. Starting at ArcGIS Enterprise 10.8.1, helpBase can be updated to set the help topic provider as either a publicly available or installed source. By default, the source is set to the local, installed source. When internet is available, you can enable the option to deliver help topics from Esri's public web help from the Enterprise portal home app.

Note:

The documentation source only has an impact on documentation accessed through the Enterprise portal home app and does not impact ArcGIS Server or the ArcGIS REST API documentation.

helperServices

A JSON object of various services needed by client applications. The helper services can be overridden by the organization or the portal. The services include the following:

  • analysis—Hosted geoprocessing services that perform analyses.
  • asyncClosestFacility—ArcGIS geoprocessing service for asynchronous closest-facility analysis.
  • asyncGeocode—ArcGIS geoprocessing service for performing batch geocoding asynchronously. (This helper service was added at ArcGIS Enterprise 10.5.)
  • asyncLocationAllocation—ArcGIS geoprocessing service for asynchronous location-allocation network analysis.
  • asyncODCostMatrix—ArcGIS geoprocessing service for generating origin-destination cost matrices asynchronously.
  • asyncRoute—ArcGIS geoprocessing service for asynchronous route analysis.
  • asyncServiceArea—ArcGIS geoprocessing service for asynchronous service-area analysis.
  • asyncVRP—ArcGIS geoprocessing service for solving asynchronous vehicle routing problems.
  • closestFacility—ArcGIS NAServer service for synchronous closest-facility analysis.
  • creditEstimation—ArcGIS geoprocessing service for estimating credits to be charged to perform a certain task.
  • elevation—ArcGIS geoprocessing service for elevation analysis.
  • defaultElevationLayers—Limited Error Raster Compression (LERC) elevation service used by ArcGIS Pro and the web Scene Viewer.
  • elevationSync—ArcGIS geoprocessing service for elevation analysis.
  • geocode—Array of ArcGIS geocoding services to use for geocoding.
  • geoenrichment—ArcGIS GeoenrichmentServer service.
  • geometry—ArcGIS GeometryServer service for geometry functions.
  • hydrology—ArcGIS geoprocessing service for hydrologic analysis.
  • iotArcGIS Velocity region URL.
  • locationTracking—ArcGIS feature service for organization-wide location tracking.
  • orthomappingElevation—ArcGIS image service for Ortho Maker.
  • printTask—ArcGIS PrintServer task for printing functionality.
  • rasterUtilities—ArcGIS geoprocessing service that enables raster analysis and processing.
  • route—ArcGIS NAServer service for synchronous route analysis.
  • routingServicesSource—Introduced at Enterprise 11.0. The routing services' source and configuration information.
  • routingUtilities—ArcGIS geoprocessing service that provides auxiliary information, such as travel modes, used by the different routing services.
  • serviceArea—ArcGIS NAServer service for synchronous service-area analysis.
  • symbols— Displays the symbol service URL used by the portal.
  • syncVRP—ArcGIS geoprocessing service for solving synchronous vehicle routing problems.
  • traffic—ArcGIS map service for displaying traffic speeds and traffic incidents.
  • packaging—ArcGIS geoprocessing service for creating offline-use map areas and packages from web maps.
homePageFeaturedContent

The group that contains featured content to be displayed on the organization home page.

homePageFeaturedContentCount

The number of featured items that can be displayed on the home page. The maximum is 100. Only integers can be used.

httpPort

The port used by the portal for HTTP communication.

httpsPort

The port used by the portal for HTTPS communication.

id

The organization ID. If null, this is the default portal for anonymous and nonorganizational users.

ipCntryCode

The country code of the calling IP (ArcGIS Online only).

isPortal

Indicates whether the portal is on-premises.

isVerified

Indicates whether the organization identity is verified by Esri.

layerTemplatesGroupQuery

The query that identifies the group containing editing templates used in Map Viewer.

livingAtlasGroupQuery

The query that identifies the group containing the layers to be used in the Analysis Layers gallery.

maxTokenExpirationMinutes

The maximum validity in minutes of both OAuth and non-OAuth tokens issued for users of the organization. The default value is -1, which allows a maximum of 2 weeks for OAuth access tokens and ArcGIS tokens (non-OAuth), and a maximum of 90 days for OAuth refresh tokens. These are the maximum values supported. Specifying a smaller value will impact all three types of tokens (ArcGIS, OAuth access, and OAuth refresh).

metadataEditable

Indicates if the organization has metadata enabled.

If true, all members of the organization can view the metadata. Only item owners and administrators can update metadata. If false, no one in the organization can access the metadata.

Values: true | false

metadataFormats

The metadata style used for the organization. The default is iso19139.

Values: fgdc | inspire | iso19139 | iso19139-3.2 | iso19115

mfaAdmins

An array of at least two designated administrators who receive requests to troubleshoot members' multifactor authentication issues.

mfaEnabled

Indicates whether organization members are allowed to set up multifactor authentication for their individual accounts.

modified

The date the organization was last modified, in UTC, milliseconds since epoch.

name

The name of the organization or portal. The character limit is 250.

orgEmail

The contact email that appears on the Provider tab of the organization's listings in ArcGIS Marketplace.

orgPhone

The contact phone number that appears on the Provider tab of the organization's listings in ArcGIS Marketplace.

orgUrl

The website URL that appears on the Provider tab of the organization's listings in ArcGIS Marketplace.

portalHostname

The portal host's URL.

portalMode

Identifies whether it is multitenant or singletenant.

portalName

The portal's name.

portalProperties

Stores properties specific to the organization (for example, the Contact Us link, Home Page, Map Viewer and Search configuration). If the organization is public, the properties are visible to anonymous user.

portalThumbnail

The URL of the thumbnail of the portal.

region

The region for the organization.

rotatorPanels

The custom HTML for the home page.

showHomePageDescription

If true, the description of the organization displays on the home page.

Values: true | false

storageQuota

The total storage allowed in bytes. Starting at ArcGIS Enterprise 10.8, the organization storage quota increased to 10 TB. Prior to ArcGIS Enterprise 10.8, organization storage was at 2 TB. Nonorganization storage is 2 GB.

storageUsage

The total storage used in bytes.

stylesGroupQuery

The query that identifies the group containing a variety of styles that contain references to symbology that can be used in the organization.

supportsHostedServices

Indicates whether hosted services are supported.

supportsOAuth

Indicates whether OAuth is supported.

symbolSetsGroupQuery

The query that identifies the symbol set group for rendering in Map Viewer.

templatesGroupQuery

The query that identifies the template group used in Map Viewer.

thumbnail

The URL of the thumbnail of the organization.

units

Sets the units of measure for the organization's users. The user default is derived from the organization's region. Set units to english (for U.S. standards) or metric.

Values: english | metric

updateUserProfileDisabled

Indicates whether organization members are allowed to edit their biographical information and who can see their profiles.

urlKey

The prefix selected by the organization's administrator to be used with the customBaseURL, for example, <urlKey>.maps.arcgis.com.

user

User information for the accessing user is returned only when a token is passed in. Group information is not provided. See User for response properties.

useStandardizedQuery

If true, only simple WHERE clauses that are compliant with SQL92 can be used when querying layers and tables. The recommended security setting is true.

Values: true | false

useVectorBasemaps

If true, the organization uses the Esri vector basemaps in supported ArcGIS apps, and basemapGalleryGroupQuery will not be editable and will be set to the default query.

Values: true | false

vectorBasemapGalleryGroupQuery

The query that identifies the group containing vector basemaps that are used to display in the Map Viewer basemap gallery. Use this query only when useVectorBasemaps is true.

AppInfo Response properties

PropertyDetails
appID

The registered app's ID. This is also the OAuth client_id value.

appOwner

The app owner.

appTitle

The app title.

itemId

The registered app's item ID.

orgId

The app owner's organization.

Users and apps

The Portal Self response can vary based on whether it's called by a user, an app, or both.

The response includes user and appinfo properties, and the variations in responses are primarily related to these two properties. As the names indicate, the user property includes information about the user making the call, and the appinfo property includes information pertaining to the app that made the call.

Example usage


"user": {
  "username": "<username>",
  "orgId": "<userOrgId>",
  // ... other user properties ...
},
"appInfo": {
  "appId": "<appId>",
  "orgId": "<appOrgId>",
  // ... other app properties ...
},
// ... other response properties ...

One key property is the orgId property in both user and appInfo objects and what it represents in each of these objects:

  • The orgId value in the user object, if available, represents the signed-in user's organization ID.
  • The orgId value in the appInfo object, if available, represents the calling app's organization ID.

The user and appInfo objects vary based on the type of request.

Anonymous requests

Anonymous requests or requests made without a token do not represent a user or an app. In this case, the Portal Self response for anonymous requests does not include the user property or the appInfo property.

The generateToken call is the typical way of generating user tokens and was the only option before OAuth support. A generateToken token always represents a user and is never associated with an app. The Portal Self response for generateToken tokens includes the user property but does not include the appInfo property.

OAuth 2.0 user tokens

OAuth 2.0, through the client_credentials grant, allows a registered app to sign in on behalf of itself. App tokens generated through the client_credentials grant are not associated with a user. The Portal Self response for OAuth 2.0 app tokens includes the appInfo property but does not include the user property.

Summary

The relationship between the type of request and the user and appInfo properties is summarized in the following table:

Request typeuser property appInfo property

Anonymous request

No

No

generateToken token

Yes

No

OAuth2 user token

Yes

Yes

OAuth2 app token

No

Yes

JSON Response syntax


{
  "access": private | public,  
  "allSSL": false | true,	
  "analysisLayersGroupQuery": "title:\"<group name>\" AND owner:<username>", 
  "authorizedCrossOriginDomains": [
    "<trusted server1>",
    "<trusted server2>"
  ],
  "authorizedCrossOriginNoCorsDomains": [
    "<trusted server1>",
    "<trusted server2>"
  ],
  "allowedRedirectUris": [
    "<portal1>",
    "<portal2>"
  ],
  "availableCredits": <available credits>,
  "backgroundImage": "default_image" | "custom_image" | "none"					
  "basemapGalleryGroupQuery": "title:\"<group name>\" AND owner:<username>", 
  "bingKey": "<bing key>",
  "canListApps": true | false,
  "canListData": true | false,
  "canListPreProvisionedItems": true | false,
  "canProvisionDirectPurchase": true |false,
  "canSearchPublic": true | false,
  "canShareBingPublic": true | false,
  "canSharePublic": true | false,
  "canSignInArcGIS": true | false,
  "canSignInIDP": true | false,
  "colorSetsGroupQuery": "title:\"<group name>\" AND owner:<username>",
  "commentsEnabled": "true | false",   
  "contentCategorySetsGroupQuery": "title:\"<group name>\" AND owner:<username>",     	 
  "created": date created shown in UNIX time,
  "creditAssignments": "enabled" | "disabled",
  "culture": "<culture code>",
  "cultureFormat": "<number and date culture format>",						
  "customBaseUrl": "<URL>",
  "defaultBasemap": {      						
    "id": "<id>",
    "title": "<title>",
    "baseMapLayers": [
      {
        "id": "<id>",
        "layerType": "<layer type>",
        "url": "<url>",
        "visibility": true | false,
        "opacity": 1,
        "title": "<title>",
        "resourceInfo": {<JSON object that defines the service layer info>},
        "isReference": true | false
      }
    ],
    "operationalLayers": []
  },
  "defaultExtent": { 	
    "type": "<type>",						 
    "xmin": <x min>,
    "ymin": <y min>,
    "xmax": <x max>,
    "ymax": <y max>,
    "spatialReference":  {"wkid": <well-known id> | "wkt": <well-known text string> }
  },
  "defaultUserCreditAssignment": <default credits allocation for new members>,
  "defaultVectorBasemap": {
    "baseMapLayers": [
      {
        "id": "<id>",
        "type": "<type>",
        "layerType": "<layer type>",
        "title": "<title>",
        "styleUrl": "<style url>",
        "visibility": true | false,
        "opacity": 1
      }
    ],
    "title": "<title>"
  },
  "description": "description and/or image",
  "eueiEnabled": true | false,
  "featuredGroups": [  				
    {
      "owner": "<username1>",
      "title": "<group name1>"
    },
    {
      "owner": "<username2>",
      "title": "<group name2>"
    },
    {
      "owner": "<username3>",
      "title": "<group name3>"
    }
    ....
  ],
  "featuredItemsGroupQuery": "id:<"featured group id | null>", 
  "galleryTemplatesGroupQuery": "id:<"gallery templates group id | null>", 
  "hasCategorySchema": true | false,
  "helperServices": {
    "asyncClosestFacility": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "asyncLocationAllocation": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "asyncODCostMatrix": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "asyncRoute": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "asyncServiceArea": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "asyncVRP": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "closestFacility": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "defaultElevationLayers": [
      {
        "url": "<URL>",
        "id": "<ID>",
        "layerType": "<type of layer>"
      }
    ],
    "elevation": {
      "url": "<URL>"
    },
    "elevationSync": {
      "url": "<URL>"
    },
    "geocode": [
      {
        "url": "<URL>",
        "northLat": "Ymax",
        "southLat": "Ymin",
        "eastLon": "Xmax",
        "westLon": "Xmin",
        "name": "<name>",
        "suggest": true | false,  /*indicates whether auto-complete suggestion is supported*/
        "placefinding": true | false,  /*indicates whether auto-complete suggestion and interactive geocoding are supported*/
        "placeholder": "<placeholder text>",
        "zoomScale": <scale>,
        "batch": true | false  /*indicates whether batch geocoding is supported*/
      }
    ],
    "asyncGeocode": {
      "url": "<URL>"
    },
    "creditEstimation": {
      "url": "<URL>"
    },
    "geometry": {
      "url": "<URL>"
    },
    "hydrology": {
      "url": "<URL>"
    },
    "iot": {
      "regionUrl": "<URL>"
    }
    "locationTracking": {
      "url": "<URL>",
      "id": "<itemId>"
    },
    "orthomappingElevation": {
      "url": "<URL>"
    },
    "printTask": {
      "url": "<URL>"
    },
    "rasterUtilities": {
      "url": "<URL>"
    }
    "route": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "routingUtilities": {
      "url": "<URL>"
    },
    "serviceArea": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "syncVRP": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "symbols": {
      "url": "<URL>",
    },
    "traffic": {
      "url": "<URL>"
    },
    "analysis": {
      "url": "<URL>"
    },
    "packaging": {
      "url": "<URL>"
    },
    "geoenrichment": {
      "url": "<URL>"
    },
    
  },
  "homePageFeaturedContent": "title:\"<group name>\" AND owner:<username>",
  "homePageFeaturedContentCount": <count>,
  "id": "<organization id>",
  "isPortal": true | false,
  "isVerified": true | false,
  "layerTemplatesGroupQuery": "title:\"<group name>\" AND owner:<username>",
  "livingAtlasGroupQuery": "title:\"<group name>\" AND owner:<username>",
  "maxTokenExpirationMinutes": <-1 is default; for ArcGIS online - 2 weeks, OAuth refresh tokens -unlimited; OAuth access tokens - 2 weeks>,
  "metadataEditable": true | false,
  "metadataFormats": ["<format1>"],
  "modified": date modified shown in UNIX time,
  "name": "<organization name>",
  "orgEmail": "<email>",
  "orgPhone": "<phone number>",
  "orgUrl": "<URL>",
  "portalHostname": "<URL>",
  "portalMode": "singletenant" | multitenant"},
  "portalName": "<name of portal>",
  "portalProperties": {
    "semanticSearchEnabled": <true|false>, //Introduced at ArcGIS Enterprise 11.1
    "links": {
      "contactUs": {
        "url": "<URL or mailto>",
        "visible": <true | false>
      }
    }
  },
  "portalThumbnail": file name,
  "region": "<region>",
  "rotatorPanels":[
    {
      "id": "banner"
      "innerHTML": "<custom HTML>"
    }
  ],
  "showHomePageDescription": true | false,
  "storageUsage": <storage used - bytes>,
  "storageQuota": <storage quota - bytes>,
  "stylesGroupQuery": "title:\"<group name>\" AND owner:<username>",
  "supportsHostedServices": true | false,
  "symbolSetsGroupQuery": "title:\"<group name>\" AND owner:<username>",
  "templatesGroupQuery": "title:\"<group name>\" AND owner:<username>",
  "thumbnail": "<file name>",
  "units": english | metric,
  "updateUserProfileDisabled": true | false,
  "urlKey": null,
  "useStandardizedQuery": true | false,
  "useVectorBasemaps": true | false,
  "vectorBasemapGalleryGroupQuery": "title:\"<group name>\" AND owner:<username>",
  "httpPort": <port number>,
  "httpsPort": <port number>,
  "ipCntryCode": "<country code>",
  "supportsOAuth": true | false,
  "allowedOrigins": [
    "<allowed domain>"
  ],
  "mfaAdmins": [
    "<mfa admins>"
  ],
  "contacts": [
    "<contacts>"
  ],
  "mfaEnabled": true | false,
  "user": {
    "username": "<username>",
    "id": "<id>",
    "fullName": "<first name> <last name>",
    "availableCredits": <available credits>,
    "assignedCredits": <allocated credits>,
    "firstName": "<first name>",
    "lastName": "<last name>",
    "preferredView": "Web" | "GIS" | null,
    "description": "<description>",
    "email": "<email address>",
    "idpUsername": "<username>",
    "favGroupId": "<group id>",
    "lastLogin": <date of user last login shown in UNIX time>,
    "mfaEnabled": true | false,
    "access": "private" | "org" | "public",
    "storageUsage": <storage used - bytes>,
    "storageQuota": <storage quota - bytes>,
    "org id": "<organization id>"
    "role": "org_admin" | "org_publisher" | "org_user",
    "privileges": [
      "<privilege1>",
      "<privilege2>",
      "<privilege3>"
      ...
    ],
    "disabled": true | false,
    "userLicenseTypeId": "<user license type id>",
    "units": "english" | "metric",
    "tags": [
      "<tag1>",
      "<tag2>"
    ],
    "culture": "<culture code>",
    "region": "<region>",
    "thumbnail": "<file name>",
    "created": <date created shown in UNIX time>,
    "modified": <date modified shown in UNIX time>,
    "provider": "arcgis" | "enterprise" | "facebook" | "google"
  },
  "appInfo": {
	   "appId": "<registered app id>",
    "itemId": "<item id of the app>",
    "appOwner": "<the app owner>",
    "orgId": "<the org that the app owner is a member of>",
    "appTitle": "<the app title>"
  }
}

JSON Response example


{
  "2DStylesGroupQuery": "title:\"Esri 2D Styles\" AND owner:esri_en",
  "EsriBoundaryLayersGroupQuery": "title:\"Esri Boundary Layers\" AND owner:esri_boundaries",
  "EsriDemographicLayersGroupQuery": "title:\"Esri Demographic Layers\" AND owner:esri_demographics",
  "access": "public",
  "allSSL": true,
  "analysisLayersGroupQuery": "title:\"Living Atlas Analysis Layers\" AND owner:esri_livingatlas",
  "availableCredits": 0,
  "basemapGalleryGroupQuery": "title:\"ArcGIS Online Basemaps\" AND owner:esri_en",
  "canListApps": true,
  "canListConsultingServices": true,
  "canListData": true,
  "canListPreProvisionedItems": true,
  "canListSolutions": true,
  "canProvisionDirectPurchase": true,
  "canSearchPublic": true,
  "canSetCustomBuyLink": true,
  "canSetQuestionnaire": true,
  "canSharePublic": true,
  "canSignInArcGIS": true,
  "canSignInIDP": true,
  "canSignInOIDC": true,
  "canSignInSocial": false,
  "colorSetsGroupQuery": "title:\"Esri Colors\" AND owner:esri_en",
  "commentsEnabled": false,
  "contentCategorySetsGroupQuery": "title:\"ArcGIS Online Content Category Sets\" AND owner:esri_en",
  "created": 1359036000000,
  "culture": "en",
  "customBaseUrl": "portal",
  "databaseQuota": 0,
  "databaseUsage": 0,
  "defaultBasemap": {
    "baseMapLayers": [
      {
        "url": "https://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer",
        "layerType": "ArcGISTiledMapServiceLayer",
        "resourceInfo": {
          "currentVersion": 10.3,
          "mapName": "Layers",
          "supportsDynamicLayers": false,
          "layers": [
            {
              "id": 0,
              "name": "Citations",
              "parentLayerId": -1,
              "defaultVisibility": false,
              "subLayerIds": "Portal for ArcGIS",
              "minScale": 0,
              "maxScale": 0
            }
          ],
          "tables": [],
          "spatialReference": {
            "wkid": 102100,
            "latestWkid": 3857
          },
          "singleFusedMapCache": true,
          "tileInfo": {
            "rows": 256,
            "cols": 256,
            "dpi": 96,
            "format": "JPEG",
            "compressionQuality": 90,
            "origin": {
              "x": -2.0037508342787E7,
              "y": 2.0037508342787E7
            },
            "spatialReference": {
              "wkid": 102100,
              "latestWkid": 3857
            },
            "lods": [
              {
                "level": 0,
                "resolution": 156543.03392800014,
                "scale": 5.91657527591555E8
              },
              {
                "level": 1,
                "resolution": 78271.51696399994,
                "scale": 2.95828763795777E8
              },
              {
                "level": 2,
                "resolution": 39135.75848200009,
                "scale": 1.47914381897889E8
              },
              {
                "level": 3,
                "resolution": 19567.87924099992,
                "scale": 7.3957190948944E7
              },
              {
                "level": 4,
                "resolution": 9783.93962049996,
                "scale": 3.6978595474472E7
              },
              {
                "level": 5,
                "resolution": 4891.96981024998,
                "scale": 1.8489297737236E7
              },
              {
                "level": 6,
                "resolution": 2445.98490512499,
                "scale": 9244648.868618
              },
              {
                "level": 7,
                "resolution": 1222.992452562495,
                "scale": 4622324.434309
              },
              {
                "level": 8,
                "resolution": 611.4962262813797,
                "scale": 2311162.217155
              },
              {
                "level": 9,
                "resolution": 305.74811314055756,
                "scale": 1155581.108577
              },
              {
                "level": 10,
                "resolution": 152.87405657041106,
                "scale": 577790.554289
              },
              {
                "level": 11,
                "resolution": 76.43702828507324,
                "scale": 288895.277144
              },
              {
                "level": 12,
                "resolution": 38.21851414253662,
                "scale": 144447.638572
              },
              {
                "level": 13,
                "resolution": 19.10925707126831,
                "scale": 72223.819286
              },
              {
                "level": 14,
                "resolution": 9.554628535634155,
                "scale": 36111.909643
              },
              {
                "level": 15,
                "resolution": 4.77731426794937,
                "scale": 18055.954822
              },
              {
                "level": 16,
                "resolution": 2.388657133974685,
                "scale": 9027.977411
              },
              {
                "level": 17,
                "resolution": 1.1943285668550503,
                "scale": 4513.988705
              },
              {
                "level": 18,
                "resolution": 0.5971642835598172,
                "scale": 2256.994353
              },
              {
                "level": 19,
                "resolution": 0.29858214164761665,
                "scale": 1128.497176
              },
              {
                "level": 20,
                "resolution": 0.14929107082380833,
                "scale": 564.248588
              },
              {
                "level": 21,
                "resolution": 0.07464553541190416,
                "scale": 282.124294
              },
              {
                "level": 22,
                "resolution": 0.03732276770595208,
                "scale": 141.062147
              },
              {
                "level": 23,
                "resolution": 0.01866138385297604,
                "scale": 70.5310735
              }
            ]
          },
          "initialExtent": {
            "xmin": -2.8848255049479112E7,
            "ymin": -2077452.082122866,
            "xmax": 2.8848255049479112E7,
            "ymax": 1.6430757376790084E7,
            "spatialReference": {
              "wkid": 102100,
              "latestWkid": 3857
            }
          },
          "fullExtent": {
            "xmin": -2.0037507067161843E7,
            "ymin": -1.9971868880408604E7,
            "xmax": 2.0037507067161843E7,
            "ymax": 1.997186888040863E7,
            "spatialReference": {
              "wkid": 102100,
              "latestWkid": 3857
            }
          },
          "minScale": 5.91657527591555E8,
          "maxScale": 70.5310735,
          "units": "esriMeters",
          "supportedImageFormatTypes": "PNG32,PNG24,PNG,JPG,DIB,TIFF,EMF,PS,PDF,GIF,SVG,SVGZ,BMP",
          "capabilities": "Map,Tilemap,Query,Data",
          "supportedQueryFormats": "JSON, AMF",
          "exportTilesAllowed": false,
          "maxRecordCount": 100,
          "maxImageHeight": 4096,
          "maxImageWidth": 4096,
          "supportedExtensions": "KmlServer"
        }
      }
    ],
    "title": "Topographic"
  },
  "defaultDevBasemap": {
    "baseMapLayers": [
      {
        "id": "World_Hillshade_2559",
        "layerType": "ArcGISTiledMapServiceLayer",
        "url": "https://ibasemaps-api.arcgis.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",
        "visibility": true,
        "opacity": 1,
        "title": "World Hillshade"
      },
      {
        "id": "VectorTile_9568",
        "type": "VectorTileLayer",
        "layerType": "VectorTileLayer",
        "title": "World Topographic Map",
        "styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/42df0d22517e49ad84edcee4c093857d/resources/styles/root.json",
        "visibility": true,
        "opacity": 1
      }
    ],
    "title": "Topographic"
  },
  "defaultExtent": {
    "xmin": -18000000,
    "ymin": -12000000,
    "xmax": 18000000,
    "ymax": 16000000,
    "spatialReference": {
      "wkid": 102100
    }
  },
  "defaultUserCreditAssignment": -1,
  "defaultVectorBasemap": {
    "baseMapLayers": [
      {
        "id": "World_Hillshade_3805",
        "layerType": "ArcGISTiledMapServiceLayer",
        "url": "https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",
        "visibility": true,
        "opacity": 1,
        "title": "World Hillshade"
      },
      {
        "id": "VectorTile_2333",
        "type": "VectorTileLayer",
        "layerType": "VectorTileLayer",
        "title": "World Topographic Map",
        "styleUrl": "https://cdn.arcgis.com/sharing/rest/content/items/7dc6cea0b1764a1f9af2e679f642f0f5/resources/styles/root.json",
        "visibility": true,
        "opacity": 1
      }
    ],
    "title": "Topographic"
  },
  "description": "<br/>",
  "devBasemapGalleryGroupQuery": "title:\"World Basemaps for Developers\" AND owner:esri",
  "eueiEnabled": false,
  "featuredGroups": [
    {
      "owner": "admin",
      "title": "Featured Maps and Apps"
    }
  ],
  "featuredGroupsId": "",
  "featuredItemsGroupQuery": "",
  "galleryTemplatesGroupQuery": "title:\"Gallery Templates\" AND owner:esri_en",
  "hasCategorySchema": false,
  "hasMemberCategorySchema": false,
  "helpBase": "/gis/portalhelp/en/",
  "helperServices": {
    "analysis": {
      "url": "https://machine.domain.com/webadaptor/rest/services/System/SpatialAnalysisTools/GPServer"
    },
    "asyncClosestFacility": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/17d7d0e848294a8fa9ef5a5f6ea38537/rest/services/World/ClosestFacility/GPServer/FindClosestFacilities"
    },
    "asyncGeocode": {
      "url": "https://machine.domain.com/webadaptor/rest/services/Utilities/GeocodingTools/GPServer"
    },
    "asyncLocationAllocation": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/76b38dc86ef14f8195688dd15f705403/rest/services/World/LocationAllocation/GPServer"
    },
    "asyncODCostMatrix": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/193d70273c6f40278b07b80f59b3ecfa/rest/services/World/OriginDestinationCostMatrix/GPServer"
    },
    "asyncRoute": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/2399a92009dc4ee5b945f4a29d42138a/rest/services/World/Route/GPServer"
    },
    "asyncServiceArea": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/032a6c4edb334021a38d2374166af4cc/rest/services/World/ServiceAreas/GPServer/GenerateServiceAreas"
    },
    "asyncVRP": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/88d15318a8b74fc489c0a3ad44d52d15/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleRoutingProblem"
    },
    "closestFacility": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/1e05e125a9a945a9a8c4d8ee8d5cf78d/rest/services/World/ClosestFacility/NAServer/ClosestFacility_World"
    },
    "defaultElevationLayers": [
      {
        "url": "https://machine.domain.com/webadaptor/rest/services/WorldElevation3D/Terrain3D/ImageServer",
        "id": "globalElevation",
        "layerType": "ArcGISTiledElevationServiceLayer"
      }
    ],
    "elevation": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/48f00107f996422c9b684def4e854d82/rest/services/Tools/Elevation/GPServer"
    },
    "elevationSync": {
      "url": "https://machine.domain.com/webadaptor/rest/services/Tools/ElevationSync/GPServer"
    },
    "geoanalytics": {
      "url": "https://machine.domain.com/webadaptor/rest/services/System/GeoAnalyticsTools/GPServer"
    },
    "geocode": [
      {
        "url": "https://machine.domain.com/webadaptor/sharing/servers/41714dbe3fa140d4abe1d23595932d33/rest/services/World/GeocodeServer",
        "name": "ArcGIS World Geocoding Service",
        "isEsriBatchGeocoder": true,
        "placeholder": "Find address or place",
        "singleLineFieldName": "SingleLine",
        "batch": true,
        "placefinding": true,
        "suggest": true,
        "zoomScale": 10000
      }
    ],
    "geoenrichment": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/d456e94114b04fc9bba0fa1dce20c12e/rest/services/World/GeoenrichmentServer"
    },
    "geometry": {
      "url": "https://machine.domain.com/webadaptor/rest/services/Geometry/GeometryServer"
    },
    "hydrology": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/59207f2ae24c4257a51df9c3ffe498fc/rest/services/Tools/Hydrology/GPServer"
    },
    "odCostMatrix": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/dda9691d2a3d45c2b46c06839dc7c1aa/rest/services/World/OriginDestinationCostMatrix/NAServer/OriginDestinationCostMatrix_World"
    },
    "orthoMapping": {
      "url": "https://machine.domain.com/webadaptor/rest/services/System/OrthomappingTools/GPServer"
    },
    "orthomappingElevation": {
      "url": "https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer"
    },
    "packaging": {
      "url": "https://machine.domain.com/webadaptor/rest/services/Utilities/OfflinePackaging/GPServer"
    },
    "printTask": {
      "url": "https://machine.domain.com/webadaptor/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task"
    },
    "rasterAnalytics": {
      "url": "https://machine.domain.com/webadaptor/gis/rest/services/System/RasterAnalysisTools/GPServer"
    },
    "rasterUtilities": {
      "url": "https://machine.domain.com/webadaptor/rest/services/Utilities/RasterUtilities/GPServer"
    },
    "route": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/315da0ca0a7c491f8365baed8a68a70d/rest/services/World/Route/NAServer/Route_World"
    },
    "routingServicesSource": {
      "sourceName": "ArcGISOnline",
      "agoUsername": "agoExampleAdmin",
      "firstName": "Example",
      "lastName": "Admin"
    },
    "routingUtilities": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/de4046085bdb4a71a54b2d1d70a54b02/rest/services/World/Utilities/GPServer"
    },
    "serviceArea": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/187fb17adcc0451db3a6a817970d3299/rest/services/World/ServiceAreas/NAServer/ServiceArea_World"
    },
    "symbols": {
      "url": "https://machine.domain.com/webadaptor/rest/services/Utilities/Symbols/SymbolServer"
    },
    "syncVRP": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/fa33cfb92c9f4a91bf9438c14290874d/rest/services/World/VehicleRoutingProblemSync/GPServer/EditVehicleRoutingProblem"
    },
    "traffic": {
      "url": "https://machine.domain.com/webadaptor/sharing/servers/65639cb3fe82431eb6bdd71a1c571e81/rest/services/World/Traffic/MapServer"
    }
  },
  "homePageFeaturedContent": "",
  "homePageFeaturedContentCount": 12,
  "id": "0123456789ABCDEF",
  "isPortal": true,
  "isVerified": false,
  "layerTemplatesGroupQuery": "title:\"Esri Layer Templates\" AND owner:esri_en",
  "livingAtlasGroupQuery": "title:\"Living Atlas\" AND owner:esri_livingatlas",
  "maxTokenExpirationMinutes": -1,
  "metadataEditable": false,
  "metadataFormats": [],
  "modified": 1650557998747,
  "name": "ArcGIS Enterprise",
  "notificationsEnabled": false,
  "portalHostname": "machine.domain.com/webadaptor",
  "portalMode": "singletenant",
  "portalName": "ArcGIS Enterprise",
  "portalProperties": {
    "homePage": "modernOnly",
    "mapViewer": "classic",
    "semanticSearchEnabled": true,
  },
  "portalThumbnail": null,
  "rasterFunctionTemplatesGroupQuery": "title:\"Raster Function Templates\" AND owner:esri_en",
  "rotatorPanels": "",
  "staticImagesUrl": "/gis/portalimages",
  "storageQuota": 10995116277760,
  "storageUsage": 12027566,
  "stylesGroupQuery": "title:\"Esri Styles\" AND owner:esri_en",
  "supportsHostedServices": true,
  "symbolSetsGroupQuery": "title:\"Esri Symbols\" AND owner:esri_en",
  "templatesGroupQuery": "title:\"Web Application Templates\" AND owner:esri_en",
  "thumbnail": null,
  "units": "english",
  "updateUserProfileDisabled": false,
  "useStandardizedQuery": true,
  "useVectorBasemaps": true,
  "vectorBasemapGalleryGroupQuery": "title:\"ArcGIS Online Vector Basemaps\" AND owner:esri_en",
  "hostedServerHostedFolder": "Hosted",
  "supportsHostedNotebooks": true,
  "supportsSceneServices": true,
  "hasRelationalArcGISDataStore": true,
  "hasSpatioTemporalArcGISDataStore": true,
  "httpPort": 80,
  "httpsPort": 443,
  "portalLocalHostname": "MACHINE.DOMAIN.COM",
  "portalLocalHttpPort": 7080,
  "portalLocalHttpsPort": 7443,
  "supportsOAuth": true,
  "samlEnabled": false,
  "disableSignup": false,
  "isReadOnly": false,
  "isWindows": true,
  "platform": "Windows Server 2019",
  "currentVersion": "10.1",
  "allowedOrigins": [],
  "mfaAdmins": [],
  "allowedExternalLinks": [],
  "mfaEnabled": false,
  "contacts": [
    "admin"
  ],
  "supportsEmail": true,
  "portalDeploymentType": "ArcGISEnterprise",
  "isWebTierAuth": false,
  "user": {
    "username": "admin",
    "udn": null,
    "id": "579639a9bb884f8fb74e33909412f1eb",
    "fullName": "Test Admin",
    "firstName": "Test",
    "lastName": "Admin",
    "preferredView": null,
    "description": "Test admin for example information",
    "email": "test@domain.com",
    "userType": "arcgisonly",
    "idpUsername": null,
    "favGroupId": "9fa875a144664f4886f02406fd128be2",
    "lastLogin": 1650568173488,
    "mfaEnabled": false,
    "storageUsage": 12027566,
    "storageQuota": 10995116277760,
    "orgId": "0123456789ABCDEF",
    "role": "org_admin",
    "privileges": [
      "features:user:edit",
      "features:user:editIndoorsSpaces",
      "features:user:fullEdit",
      "features:user:manageVersions",
      "marketplace:admin:manage",
      "marketplace:admin:purchase",
      "marketplace:admin:startTrial",
      "opendata:user:designateGroup",
      "opendata:user:openDataAdmin",
      "portal:admin:assignToGroups",
      "portal:admin:categorizeItems",
      "portal:admin:changeUserRoles",
      "portal:admin:createUpdateCapableGroup",
      "portal:admin:deleteGroups",
      "portal:admin:deleteItems",
      "portal:admin:deleteUsers",
      "portal:admin:disableUsers",
      "portal:admin:inviteUsers",
      "portal:admin:manageCollaborations",
      "portal:admin:manageCredits",
      "portal:admin:manageEnterpriseGroups",
      "portal:admin:manageLicenses",
      "portal:admin:manageRoles",
      "portal:admin:manageSecurity",
      "portal:admin:manageServers",
      "portal:admin:manageUtilityServices",
      "portal:admin:manageWebsite",
      "portal:admin:reassignGroups",
      "portal:admin:reassignItems",
      "portal:admin:reassignUsers",
      "portal:admin:shareToGroup",
      "portal:admin:shareToOrg",
      "portal:admin:shareToPublic",
      "portal:admin:updateGroups",
      "portal:admin:updateItemCategorySchema",
      "portal:admin:updateItems",
      "portal:admin:updateUsers",
      "portal:admin:viewGroups",
      "portal:admin:viewItems",
      "portal:admin:viewUsers",
      "portal:publisher:bulkPublishFromDataStores",
      "portal:publisher:publishBigDataAnalytics",
      "portal:publisher:publishDynamicImagery",
      "portal:publisher:publishFeatures",
      "portal:publisher:publishFeeds",
      "portal:publisher:publishKnowledgeGraph",
      "portal:publisher:publishRealTimeAnalytics",
      "portal:publisher:publishScenes",
      "portal:publisher:publishServerGPServices",
      "portal:publisher:publishServerServices",
      "portal:publisher:publishTiledImagery",
      "portal:publisher:publishTiles",
      "portal:publisher:registerDataStores",
      "portal:user:addExternalMembersToGroup",
      "portal:user:categorizeItems",
      "portal:user:createGroup",
      "portal:user:createItem",
      "portal:user:invitePartneredCollaborationMembers",
      "portal:user:joinGroup",
      "portal:user:joinNonOrgGroup",
      "portal:user:reassignItems",
      "portal:user:receiveItems",
      "portal:user:shareGroupToOrg",
      "portal:user:shareGroupToPublic",
      "portal:user:shareToGroup",
      "portal:user:shareToOrg",
      "portal:user:shareToPublic",
      "portal:user:viewOrgGroups",
      "portal:user:viewOrgItems",
      "portal:user:viewOrgUsers",
      "portal:user:viewTracks",
      "premium:publisher:createAdvancedNotebooks",
      "premium:publisher:createNotebooks",
      "premium:publisher:geoanalytics",
      "premium:publisher:rasteranalysis",
      "premium:publisher:scheduleNotebooks",
      "premium:user:demographics",
      "premium:user:elevation",
      "premium:user:featurereport",
      "premium:user:geocode",
      "premium:user:geocode:stored",
      "premium:user:geocode:temporary",
      "premium:user:geoenrichment",
      "premium:user:networkanalysis",
      "premium:user:networkanalysis:closestfacility",
      "premium:user:networkanalysis:locationallocation",
      "premium:user:networkanalysis:optimizedrouting",
      "premium:user:networkanalysis:origindestinationcostmatrix",
      "premium:user:networkanalysis:routing",
      "premium:user:networkanalysis:servicearea",
      "premium:user:networkanalysis:vehiclerouting",
      "premium:user:spatialanalysis"
    ],
    "adminCategories": [
      "portalEnterpriseGroupsAdmin",
      "portalFullAdmin",
      "portalLoginAdmin",
      "portalManageLicenses",
      "portalManageServersAdmin",
      "portalMembersAdmin",
      "portalSecurityAdmin",
      "portalWebSitesAdmin",
      "serverFullAdmin",
      "serverLoginAdmin",
      "serverManageServersAdmin",
      "serverPublishAdmin",
      "serverSecurityAdmin",
      "serverServicesAdmin"
    ],
    "level": "2",
    "userLicenseTypeId": "standardUT",
    "disabled": false,
    "tags": [],
    "culture": null,
    "cultureFormat": null,
    "region": null,
    "units": "english",
    "thumbnail": null,
    "access": "public",
    "created": 1650543314530,
    "emailStatus": "notverified",
    "emailStatusDate": -1,
    "modified": 1650568173139,
    "provider": "arcgis",
    "categories": []
  },
  "appInfo": {
    "appId": "arcgisonline",
    "itemId": "98371d501b8745e389268afb7ed4ba0a",
    "appOwner": "esri_apps",
    "orgId": "0123456789ABCDEF",
    "appTitle": "ArcGIS Online"
  }
}