In this step, you get a list of all scopes, and from that list you must reference the scope IDs that you want to apply to the resource access grant in Step 5. The GET /environments/{environmentId}/resources/{resourceId}/scopes operation returns information about the scopes associated with the resource entity ID specified in the request URL. The value for the {resourceId} parameter is the resource ID for the PingOne API resource you retrieved in Step 3.

The response data shows the scopes and their IDs. At a minimum, the resource application grant for this activity must have at least one PingOne scope.