Api referenceRoomsMembers
Update the role of a member
Update the role of a member
Update the role of a member
AuthorizationBearer <token>
In: header
Path Parameters
id*string
userId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/v2/rooms/string/members/string/role" \ -H "Content-Type: application/json" \ -d '{ "role": "chat-room-admin" }'{}