Area level deleted
Area level was removed (logical deletion). The body carries its last state with is_active: false.
Headers
X-Crehana-Event-Id
Event id. The same event keeps it on every attempt: deduplicate by it.
X-Crehana-Delivery-Attempt
Attempt number, starting at 1.
X-Crehana-Timestamp
Unix time (seconds) used in the signature.
X-Crehana-Signature
t=<timestamp>,v1=<hex HMAC-SHA256 of "<t>.<raw body>">. During a secret rotation it carries one v1 per active secret.
Payload
The payload of this webhook request is an object.
area_level_id
Area level id (same id as the API v5)
centralized_organization_id
Organization id in Crehana.
custom_name
Name the organization gave to the level
event
Event type.
event_id
Stable event id, also sent in X-Crehana-Event-Id.
is_active
Always false: the entity was removed (logical deletion).
level_sequence
Level number, 1 is the top
name
Level name
occurred_at
When it happened (UTC).
organization_slug
Current organization slug (informative).
Response
200
200 confirms the delivery. Answer within 10 seconds.
201
201 confirms the delivery. Answer within 10 seconds.
202
202 confirms the delivery. Answer within 10 seconds.
204
204 confirms the delivery. Answer within 10 seconds.
