Step 1: Get all direct grants for a user

GET {{HOST}}/admin/v1/Grants?filter=grantee.value eq "{{userid}}" and entitlement[attributeName eq "appRoles" and attributeValue eq "{{approleid}}"]

Get all direct Grants for a User to obtain the IDs for the Grants that you want to revoke from the User.

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

KeyDatatypeRequiredDescription
filterstring

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring