Position deleted
Position 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.
centralized_organization_id
Organization id in Crehana.
code
Position code
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).
name
Position name
occurred_at
When it happened (UTC).
organization_slug
Current organization slug (informative).
position_id
Position id (same as position_id in user events)
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.
