Skip to main content

User department membership change

Suitable EnviromentSaaS
Private Deployment

Requirements

ONES
v6.96.0+

Payload

Common structure

EventData

FieldTypeDescription
organizationIDstringID of the organization associated with the event.
teamIDstringID of the team associated with the event.
userIDstringID of the user associated with the membership change.
departmentIDstringID of the department associated with the membership change.
actionstringMembership 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"
}
}
}