huudis.iam.policy_updated.v1
Fires when a customer-managed policy's document or description changes. System policies are immutable and never fire it.
Who receives it: the workspace that owns the policy.
When it fires
When PATCH /v1/iam/policies/:id succeeds.
Payload
{
"id": "evt_01KPG…",
"type": "huudis.iam.policy_updated.v1",
"accountId": "acc_01KPG40…",
"occurredAt": "2026-05-12T23:30:00.000Z",
"data": {
"policyId": "pol_01KPG…",
"policyName": "CheckoutReadOnly",
"description": "Read checkout sessions",
"version": 2,
"previousVersion": 1,
"documentChanged": true,
"descriptionChanged": false,
"accountId": "acc_01KPG40…",
"updatedByUserId": "usr_01KPG…",
"updatedAt": "2026-05-12T23:30:00.000Z"
},
"metadata": {}
}
A new document bumps version. The document itself isn't in the payload — fetch it with GET /v1/iam/policies/:id if you audit policy contents.