auth0 users roles assign
Assign existing roles to a user.
Usage
auth0 users roles assign [flags]
Examples
auth0 users roles assign <user-id>
auth0 users roles add <user-id> --roles <role-id1,role-id2>
auth0 users roles add <user-id> -r "rol_1eKJp3jV04SiU04h,rol_2eKJp3jV04SiU04h" --json
Flags
--json Output in json format.
-r, --roles strings Roles to assign to a user.
Inherited Flags
--debug Enable debug mode.
--no-color Disable colors.
--no-input Disable interactivity.
--tenant string Specific tenant to use.
Related Commands
- auth0 users roles assign - Assign roles to a user
- auth0 users roles remove - Remove roles from a user
- auth0 users roles show - Show a user’s roles