Okta Admin Management API
/Admin Roles
//
Assign a group role app t...
OAuth 2.0 scope:
- okta.roles.manage
Assigns an OIN app target to an APP_ADMIN role assignment to a group. When you assign the first OIN app target, you reduce the scope of the role assignment. The role no longer applies to all app targets, but applies only to the specified target. An OIN app target that's assigned to the role overrides any existing instance targets of the OIN app. For example, if a user is assigned to administer a specific Facebook instance, a successful request to add an OIN app with facebook for appName makes that user the administrator for all Facebook instances.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/groups/{groupId}/roles/{roleAssignmentId}/targets/catalog/apps/{appName}
curl -i -X PUT \
https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google