Skip to main content
POST
Search Reachable Resources For User

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Body

application/json

SearchReachableResourcesForUser request.

appIds
string[] | null

Restrict results to resources belonging to these applications. Empty searches across every application the user can reach.

pageSize
integer<int32>

Maximum number of results to return per page.

pageToken
string

Token for fetching the next page of results.

query
string

Fuzzy search over the resource display name.

userId
string

The user whose reachable resources to search.

Response

200 - application/json

SearchReachableResourcesForUser response. Resources are deduplicated: a resource reachable through more than one grant or entitlement appears once.

SearchReachableResourcesForUser response. Resources are deduplicated: a resource reachable through more than one grant or entitlement appears once.

list
Graph Node · object[] | null

The reachable resources, one GraphNode (type = GRAPH_NODE_TYPE_RESOURCE) per distinct resource. Uses the same node representation as SearchGraph.

nextPageToken
string

Token for fetching the next page of results.