Skip to content

Assign a group role app target

Request

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.

Path
groupIdstringrequired

The id of the group

Example:00g1emaKYZTWRYYRRTSK
roleAssignmentIdstringrequired

The id of the role assignment

Example:JBCUYUC7IRCVGS27IFCE2SKO
appNamestringrequired

Name of the app definition (the OIN catalog app key name)

Example:google
curl -i -X PUT \
  https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google

Responses

Success

Response
No content