To get the list of scopes associated with a specified resource, the GET /environments/{environmentId}/resources/{resourceId}/scopes operation returns data for the scopes associated with the resource entity ID specified in the request URL.