User department membership change
| Suitable Enviroment | SaaS |
| Private Deployment |
Requirements
| ONES |
|---|
| v6.96.0+ |
Payload
EventData
| Field | Type | Description |
|---|---|---|
organizationID | string | ID of the organization associated with the event. |
teamID | string | ID of the team associated with the event. |
userID | string | ID of the user associated with the membership change. |
departmentID | string | ID of the department associated with the membership change. |
action | string | Membership action, for example add or remove. |
Example
{
"data": {
"eventType": "ones:user:department_membership",
"eventID": 1773166207945625601,
"timestamp": "1709005723000",
"eventContext": {
"triggerUserID": "user-1",
"teamID": "team-1",
"organizationID": "org-1"
},
"eventSubscriber": {
"subscriberID": "Re6FSci9",
"clientID": "37732555"
},
"eventData": {
"organizationID": "org-1",
"teamID": "team-1",
"userID": "user-1",
"departmentID": "dept-1",
"action": "add"
}
}
}