Sign in

Add User to Role

documented

Assign a role to a user (and optionally a room role).

POST /api/v1/roles.addUserToRoleUser Managementno implementation yet0 runs

Input

user_id*
Authenticated Rocket.Chat User ID
Enter your user ID
roleId*
Role ID to assign
Role ID
username*
Username to assign the role to
roomId
Room ID (optional for room-scoped roles)
Room ID
Calls Rocket.Chat as you (your API key is your account); keychains.dev holds the credentials.
Add User to Role · Rocket.Chat · OpenIntegrations