Step 1: Get all grants of the specified approle to the client

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

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

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