Find Role by Name and Assign Users
A 2-step recipe with Auth0. We can help you get access.
Recipe · 2 steps
Find Role by Name and Assign Users
with Auth0 · Identity & Access Management
Resolve a role by name then assign users to it when it exists.
- Search roles by name filter, returning the matching roles.
- Assign the supplied user ids to the matched role.
What you'll need to have ready
- roleName: Name (or partial name) of the role to find, case-insensitive.
- users: List of user ids to assign to the role when found.
For your developer
Arazzo workflow auth0:find-role-assign-users, 2 operations: get_roles → post_role_users. Specs on APIs.io.