wp user set-role <user> <role>

Sets the user role

Arguments

NameDescription
userUser ID, user email, or user login
roleMake the user have the specified role. If not passed, the default role is used