Step 1: Get the grants of the approle to this group
GET {{stripeUrl}}/admin/v1/Grants?filter=grantee[value eq "{{groupid}}" and type eq "Group"]&entitlement[attributeName eq "appRoles"=&attributeValue eq " {{approlid}}"]=
Search for grants of the approle to this group to get the grantID of the grant that you want to revoke for the group.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
filter | string | ||
entitlement[attributeName eq "appRoles" | null | ||
`attributeValue eq " | |||
{{approlid}}"]` | null |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Date | string | ||
Content-Type | 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":"db8c63ebf66546beb67e7e0511bae7b9","meta":{"created":"2019-03-25T08:37:45.038Z","lastModified":"2019-03-25T08:37:57.926Z","resourceType":"Grant","location":"https://bravoe.identity.internal.oracle.com/admin/v1/Grants/db8c63ebf66546beb67e7e0511bae7b9"},"grantMechanism":"ADMINISTRATOR_TO_GROUP","app":{"value":"c4b20a6b16e24fec9e3e18322c997297","$ref":"https://bravoe.identity.internal.oracle.com/admin/v1/Apps/c4b20a6b16e24fec9e3e18322c997297"},"grantee":{"type":"Group","value":"e1331b077f0f4bfd8041a16147ceaf1a","$ref":"https://bravoe.identity.internal.oracle.com/admin/v1/Groups/e1331b077f0f4bfd8041a16147ceaf1a"},"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}