Skip to main content
Update Member Role
Updates the role of an active member in a group conversation. Only group conversations have roles — this endpoint returns a 400 for direct and space conversations. The caller must be an active admin.

Path Parameters

string
required
The ID of the conversation.
string
required
The ID of the member whose role is being changed.

Body Parameters

string
required
The new role. Accepted values: "admin", "member".
string
Service key only, and required with one: the user this request acts as. Must be an active admin of the conversation. A user token always acts as its own user and must not send it (400 chat/acting-user-not-allowed).

Response

Returns the updated ConversationMember record.

Error Responses

A user token sent actingUserId, even naming its own user. Only a service key names the user it acts as; a user token always acts as its own user.
Returned when a service key names an actingUserId that isn’t a user in this project.
A service key sent no actingUserId.