huudis.ops.impersonation_ended.v1

Fires when an impersonation session is ended.

Who receives it: the workspace whose admin impersonated.

When it fires

When the admin calls POST /v1/ops/end-users/stop-impersonation. A session left to expire sends nothing (it is short: at most an hour).

Payload

{
  "id": "evt_01KPG…",
  "type": "huudis.ops.impersonation_ended.v1",
  "accountId": "acc_01KPG40…",
  "occurredAt": "2026-05-12T23:30:00.000Z",
  "data": {
    "accountId": "acc_01KPG40…",
    "actorUserId": "usr_01KPG30SP…",
    "actorEmail": "support@cafe-sumur.id",
    "targetUserId": "usr_01KPG…",
    "targetEmail": "ibu.rina@cafe-sumur.id",
    "impersonationSessionId": "ses_01KPG…",
    "reason": "ticket SUP-42",
    "endedAt": "2026-05-12T23:30:00.000Z"
  },
  "metadata": {}
}

reason is the one given when it started. A huudis.session.revoked.v1 with reason: "impersonation_ended" accompanies it.

Next

Huudis Docs · huudis.ops.impersonation_ended.v1 | Huudis