Okta Admin Management API
/Admin Roles
/- Unassign an admin role app target
User Role Targets
List all admin role app targets
Assign all apps as target to admin role
Assign an admin role app target
Assign an admin role app instance target
Unassign an admin role app instance target
List all admin role group targets
Assign an admin role group target
Unassign an admin role group target
Retrieve a role target by assignment type
Unassign an admin role ap...
OAuth 2.0 scope:
- okta.roles.manage
Unassigns an OIN app target from an APP_ADMIN role assignment to an admin user.
Note: You can't remove the last OIN app target from a role assignment since this causes an exception. If you need a role assignment that applies to all apps, delete the
APP_ADMINrole assignment to the user and recreate a new one.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/users/{userId}/roles/{roleAssignmentId}/targets/catalog/apps/{appName}
curl -i -X DELETE \
https://subdomain.okta.com/api/v1/users/00ub0oNGTSWTBKOLGLNR/roles/JBCUYUC7IRCVGS27IFCE2SKO/targets/catalog/apps/google