RocketChat/docs

Rest API update-user documentation.

demesg opened this issue · 1 comments

demesg commented

Please point out that roles in /api/v1/users.update needs to be the ID of the role not the name. Wellknown roles in rocketchat has the same id as Name. But custom roles has not.

https://developer.rocket.chat/reference/api/rest-api/endpoints/user-management/users-endpoints/update-user

The Roles parameter description is now updated for the Update User endpoint. Thank you!