Skip to main content
POST
SearchAppEntitlementResourceBindings

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.

Path Parameters

app_id
string
required

The ID of the app that the entitlement, or the resource, belongs to.

Body

application/json

The request message for searching app entitlement resource bindings, the grants of an entitlement to a non-user app resource such as a group. Search from either end: set app_entitlement_id to list the resources granted an entitlement, or set app_resource_type_id and app_resource_id to list the entitlements granted to a resource. Exactly one of the two must be provided.

appEntitlementId
string

The ID of the entitlement whose granted resources are listed.

appResourceId
string

The ID of the resource whose granted entitlements are listed. Set together with app_resource_type_id.

appResourceTypeId
string

The resource type ID of the resource whose granted entitlements are listed. Set together with app_resource_id.

pageSize
integer<int32>

The maximum number of results to return per page, from 0 to 100. A value of 0 returns the default page size (currently 25).

pageToken
string

The token from a previous response's next_page_token, used to fetch the next page.

query
string

Full-text query matched against the display name of the searched side: the bound resource when searching by entitlement, the bound entitlement when searching by resource.

resourceTypeIds
string[] | null

If set, only return bindings whose resource (the bound resource when searching by entitlement, the bound entitlement's parent resource when searching by resource) has one of these resource types.

Response

200 - application/json

The response message containing the matching app entitlement resource bindings.

The response message containing the matching app entitlement resource bindings.

list
App Entitlement Resource Binding View · object[] | null

The list of bindings.

nextPageToken
string

The nextPageToken is shown for the next page if the number of results is larger than the max page size. The server returns one page of results and the nextPageToken until all results are retrieved. To retrieve the next page, use the same request and append a pageToken field with the value of nextPageToken shown on the previous page.