Search for a specific group's grants of a specific app and any associated approles
GET {{stripeUrl}}/admin/v1/Grants?filter=grantee[value eq "{{groupid}}" and type eq "Group"] and app.value eq "{{appid}}"&attributes=entitlement[attributeName eq "appRoles"].attributeValue
Groups don't have access to Apps. Groups have GRANTS of Apps. Users who are members of a Group to which an App has been granted have access to the App.
Note: If the App is a ManagedApp, then there may be no AppRole at all.
If the App is an UnmanagedApp, then at least one AppRole would have been granted to the Group. The grants
attribute of Group won't show you which AppRole was granted; for that you must query Grants.
See https://docs.oracle.com/en/cloud/paas/identity-cloud/rest-api/appmgmtrelationships.html for more information on understanding application management relationships between Apps, AppRoles, Users, and Groups.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
filter | string | ||
attributes | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Date | string |
RESPONSES
status: OK
{"schemas":["urn:ietf:params:scim:api:messages:2.0:ListResponse"],"totalResults":1,"Resources":[{"isFulfilled":true,"idcsLastModifiedBy":{"type":"User","value":"98296b6bd077438a9fe368128fd2faac","display":"admin","$ref":"https://bravoe.identity.internal.oracle.com/admin/v1/Users/98296b6bd077438a9fe368128fd2faac"},"idcsCreatedBy":{"type":"User","display":"admin","value":"98296b6bd077438a9fe368128fd2faac","$ref":"https://bravoe.identity.internal.oracle.com/admin/v1/Users/98296b6bd077438a9fe368128fd2faac"},"id":"40eda4a177ab4768bbcca309f4327954","meta":{"created":"2019-03-27T06:03:34.852Z","lastModified":"2019-03-27T06:03:48.120Z","resourceType":"Grant","location":"https://bravoe.identity.internal.oracle.com/admin/v1/Grants/40eda4a177ab4768bbcca309f4327954"},"grantMechanism":"ADMINISTRATOR_TO_GROUP","app":{"value":"c4b20a6b16e24fec9e3e18322c997297","$ref":"https://bravoe.identity.internal.oracle.com/admin/v1/Apps/c4b20a6b16e24fec9e3e18322c997297"},"grantee":{"type":"Group","value":"971587a0723149f7ba5dcb804eb06cdd","$ref":"https://bravoe.identity.internal.oracle.com/admin/v1/Groups/971587a0723149f7ba5dcb804eb06cdd"},"grantor":{"type":"User","value":"98296b6bd077438a9fe368128fd2faac","$ref":"https://bravoe.identity.internal.oracle.com/admin/v1/Users/98296b6bd077438a9fe368128fd2faac"},"schemas":["urn:ietf:params:scim:schemas:oracle:idcs:Grant"]}],"startIndex":1,"itemsPerPage":50}