capabilities.work

Create Role and Assign to a User

A 3-step recipe with Auth0. We can help you get access.

Recipe · 3 steps

Create Role and Assign to a User

with Auth0 · Identity & Access Management

Create a role and assign a user to it.

  1. Create a new user role.
  2. Assign the supplied user to the new role.
  3. List the role's users to confirm the assignment.
What you'll need to have ready
  • roleName: Name of the new role.
  • description: Optional description of the role.
  • userId: Existing user id to assign to the new role.
For your developer

Arazzo workflow auth0:create-role-assign-to-user, 3 operations: post_roles → post_role_users → get_role_user. Specs on APIs.io.