Grant an approle to an app
POST {{HOST}}/admin/v1/Grants
Grants access to a specific AppRole for a specific App. You must specify the AppRole in the payload after app
when granting an AppRole to an App.
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 Body
{"grantee"=>{"type"=>"App", "value"=>"{{clientappid}}"}, "app"=>{"value"=>"{{appidthatdefinedtheapprole}}"}, "entitlement"=>{"attributeName"=>"appRoles", "attributeValue"=>"{{approleid}}"}, "grantMechanism"=>"ADMINISTRATOR_TO_APP", "schemas"=>["urn:ietf:params:scim:schemas:oracle:idcs:Grant"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |