This event is used to notify webhooks about any of these activies related to the organization's members:
- New member added
- Member removed
- Member's role changed
- Member's tag changed
"invited"
"removed"
"role_updated"
"tag_updated"
Attribute | Type | Description |
---|
id | string | Unique id of the resource |
type | string ("OrganizationMember" ) | Type of the resource (one of the API models) |
data | Organization Member | Object representing the resource content |
{
"event": "workspace.organization.member",
"action": "updated",
"timestamp": 1572347818,
"resource": {
"type": "OrganizationMember",
"data": {
"user": {
"id": "5d9caaecb4a3fa9bc9718686",
"email": "[email protected]",
"username": "zozo",
"emotar": "🍎",
"avatar": "http://placekitten.com/200/300",
"last_seen": 1616739240
},
"role": "owner",
"tags": [
"developers"
],
"restricted": false,
"invited": 1517184000
}
},
"context": {
"organization_summary": {
"id": "5d9caaecb4a3fa9b972f86ce",
"name": "Acme, Inc.",
"logo": "http://placekitten.com/200/300"
}
},
"actor": {
"user": {
"id": "5d9caaecb4a3fa9bc9718686",
"email": "[email protected]",
"username": "zozo",
"emotar": "🍎",
"avatar": "http://placekitten.com/200/300",
"last_seen": 1616739240
}
}
}