Skip to main content

Delete department

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.
departmentIDstringID of the department associated with the event.

Example

{
"data": {
"eventType": "ones:department:deleted",
"eventID": 1773166207945625601,
"timestamp": "1709005723000",
"eventContext": {
"triggerUserID": "",
"teamID": "team-1",
"organizationID": "org-1"
},
"eventSubscriber": {
"subscriberID": "Re6FSci9",
"clientID": "37732555"
},
"eventData": {
"organizationID": "org-1",
"teamID": "team-1",
"departmentID": "dept-1"
}
}
}