Assign Admin Role to User
A 2-step recipe with Okta. We can help you get access.
Recipe · 2 steps
Assign Admin Role to User
with Okta · Identity & Access Management
Assign an admin role to a user and confirm it.
- Assign the supplied admin role type to the user.
- List the user's assigned roles to confirm the new role is present.
What you'll need to have ready
- oktaApiToken: Okta API token used for the SSWS Authorization header.
- userId: The id of the user to grant the role to.
- roleType: The admin role type (e.g. SUPER_ADMIN, ORG_ADMIN, USER_ADMIN, APP_ADMIN).
For your developer
Arazzo workflow okta:assign-admin-role-to-user, 2 operations: assignRoleToUser → listAssignedRolesForUser. Specs on APIs.io.