Retrieve Grants
Search App Entitlements With Expired
get/api/v1/apps/{app_id}/entitlements/{app_entitlement_id}/grants
Search app entitlements, include app users, users, expires, discovered.
Path Parameters
app_idstring
The appId field.
app_entitlement_idstring
The appEntitlementId field.
Query Parameters
page_sizenumber
optional
The pageSize field.
formatint32
page_tokenstring
optional
The pageToken field.
Returns
listarray of object
optional
The list field.
nextPageTokenstring
optional
The nextPageToken field.
Request example cURL
curl https://{tenantDomain}.conductor.one/api/v1/apps/$APP_ID/entitlements/$APP_ENTITLEMENT_ID/grants \
-H "Authorization: Bearer $CONDUCTORONE_SDK_API_KEY"200 Example
{
"list": [
{
"appEntitlementId": "appEntitlementId",
"appId": "appId",
"appUser": {
"appUserType": "APP_USER_TYPE_UNSPECIFIED",
"status": {}
},
"appUserId": "appUserId",
"discovered": "2019-12-27T18:11:19.117Z",
"expired": "2019-12-27T18:11:19.117Z",
"grantReasons": [
{
"appEntitlementId": "appEntitlementId",
"appId": "appId",
"appUserId": "appUserId",
"createdAt": "2019-12-27T18:11:19.117Z",
"deletedAt": "2019-12-27T18:11:19.117Z",
"derivedIdData": "derivedIdData",
"derivedIdType": "derivedIdType",
"reasonExpiresAt": "2019-12-27T18:11:19.117Z",
"referenceStrength": "GRANT_REASON_REFERENCE_STRENGTH_UNSPECIFIED",
"updatedAt": "2019-12-27T18:11:19.117Z"
}
],
"grantSources": [
{
"id": "id",
"appId": "appId"
}
],
"user": {
"delegatedUserId": "delegatedUserId",
"roleIds": [
"string"
],
"status": "UNKNOWN"
}
}
],
"nextPageToken": "nextPageToken"
}