MsgCore icon

MsgCore

Universal messaging gateway - send messages across multiple platforms

Members → Update

AI-generated

Summary

Update a member role in a project

Inputs

  • project (required) — Project identifier to operate on
  • userId (required) — User ID of the member to update
  • role (required) — New role to assign to the member

Output shape

The MsgCore API returns the updated member object on success.

Role options are admin, member, or viewer.

Examples

Example 1: Promote a member to admin

Set userId to the target member's ID, role to admin, and project to the desired project key.

Discussion