Skip to main content
PATCH
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

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

Body Parameters

role
string
required
The new role. Accepted values: "admin", "member".

Response

Returns the updated ConversationMember record.

Error Responses