auth0 users roles remove
Remove existing roles from a user.
Usage
auth0 users roles remove [flags]
Examples
auth0 users roles remove <user-id>
auth0 users roles remove <user-id> --roles <role-id1,role-id2>
auth0 users roles rm <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