Directory User Updated
Triggered when an active user's attributes change, or when the user is added to or removed from a group
postWebhookorganization.directory.user_updated
Payload
Example payload
{
"spec_version": "1",
"type": "organization.directory.user_updated",
"object": "DirectoryUser",
"data": {
"id": "diruser_53891546960887884",
"organization_id": "org_53879494091473415",
"active": true,
"preferred_username": "john.doe@acmecorp.com",
"dp_id": "00u1a2b3c4d5e6f7g8h9",
"email": "john.doe@acmecorp.com",
"groups": [
{
"id": "dirgroup_53891546960887900",
"name": "Engineering"
}
],
"name": "John Doe",
"given_name": "John",
"family_name": "Doe",
"nickname": "Johnny",
"picture": "https://example.com/john.jpg",
"phone_number": "+1-555-0100",
"locale": "en-US",
"zoneinfo": "America/New_York",
"language": "en",
"title": "Software Engineer",
"user_type": "Employee",
"employee_id": "E1234",
"department": "Engineering",
"roles": [
{
"role_name": "billing_admin"
}
]
}
}Response
Webhook received successfully
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.