Webhook
Directory Group Updated
Triggered when a directory group is updated
Body·
application/json
- Type: stringenvironment
_id min length:1max length:32Pattern: ^env_requiredThe environment ID where the event occurred
- Type: stringidmin length:1max length:32
Pattern: ^evt_requiredUnique identifier for the webhook event (must be prefixed with "evt_")
- Type: stringenumobjectrequired
The type of object that triggered the webhook
values- Organization
- Connection
- Role
- Directory
- Directory
User - Directory
Group - Permission
- Org
Membership - User
- Type: stringFormat: date-timeoccurred
_at requiredWhen the event occurred (ISO 8601 format)
- Type: stringspec
_version Pattern: ^[0-9]+$requiredThe webhook specification version
- Type: stringenumtyperequired
The event type
values- organization
.created - organization
.updated - organization
.deleted - organization
.sso _created - organization
.sso _deleted
- Type: objectdata
The event payload (structure varies by event type)
- Type: stringdisplay
_name min length:1max length:200Human-readable display name for the event
- Type: stringorganization
_id min length:1max length:32Pattern: ^org_The organization ID (if applicable)
Responses
- 200
Webhook received successfully
Request Example for postorganization.directory.group_updated
{
"spec_version": "1",
"id": "evt_38864948910162368",
"type": "organization.directory.group_updated",
"object": "DirectoryGroup",
"occurred_at": "2024-09-25T02:48:34.745030921Z",
"environment_id": "env_32080745237316098",
"organization_id": "org_38609339635728478",
"data": {
"directory_id": "dir_38610496391217780",
"display_name": "Avengers",
"external_id": "<external_id>",
"id": "dirgroup_38862741498233423",
"organization_id": "org_38609339635728478",
"raw_attributes": {}
},
"display_name": "Directory Group Updated"
}
No Body