Documentation Index
Fetch the complete documentation index at: https://docs.envless.cloud/llms.txt
Use this file to discover all available pages before exploring further.
When it fires
After UpdateMemberService successfully changes the member’s role.
Payload
{
type: 'member.updated',
data: {
member: {
id: string
userId: string | null // null if still in invited state
email: string | null
previousRoleId: string
roleId: string
roleName: string
}
}
}
Example
{
"type": "member.updated",
"data": {
"member": {
"id": "0192a1b2-c3d4-7000-8000-000000000060",
"userId": "0192a1b2-c3d4-7000-8000-000000000080",
"email": "alice@example.com",
"previousRoleId": "0192a1b2-c3d4-7000-8000-000000000071",
"roleId": "0192a1b2-c3d4-7000-8000-000000000070",
"roleName": "Admin"
}
}
}