---
title: "Employee immediate access revocation"
method: POST
path: "employeeAccessRevokedImmediately"
tags: ["Employee data Webhooks"]
---

# Employee immediate access revocation

`POST employeeAccessRevokedImmediately` (webhook)

Triggered when a termination flow completes, including all required approvals, with **Revoke access immediately** selected. If no approvals are required, it triggers when the flow completes—you don't wait until the employee's future termination date.

This option must be enabled in the termination flow's **Additional steps** settings and is available only for termination dates that are today or in the future. It is hidden for past-dated terminations, where access is already removed immediately.

The feature also revokes access to Bob itself. Once all approvals are complete, access to Bob is revoked.

The termination effective date and lifecycle timing remain unchanged. Lifecycle events such as <a href="https://apidocs.hibob.com/reference/post_webhook_employee-left" target="_blank">employee.left</a> and <a href="https://apidocs.hibob.com/reference/post_webhook_employee-inactivated" target="_blank">employee.inactivated</a> still fire on the effective date as usual.

In the Bob UI this event appears as **Employee immediate access revocation**. Available for Webhooks v2 only. The payload includes `employeeId` only.

In the right panel, open **Examples** and select **Payload Example** to see a real payload.

## Headers

- `bob-signature` string, required

## Payload

- EmployeeAccessRevokedImmediatelyEvent: Base webhook event structure containing common webhook properties
  - `companyId` number, required: The company ID
  - `type` 'employee.access.revoked.immediately', required: Event type for immediate access revocation during a termination flow
  - `triggeredBy` string, required: The backend-id of the employee that triggered the event, or 'system' for system-triggered events
  - `triggeredAt` string, required: The timestamp when the event occurred (ISO 8601-style string)
  - `version` string, required: The webhook version (e.g., v2)
  - `data` object, required: Data payload for employee.access.revoked.immediately. Sent when a termination flow completes, including all required approvals, with Revoke access immediately selected.
    - `employeeId` string, required: The unique identifier of the employee whose access was revoked

## Acknowledgement `200`

Webhook received successfully

## Other responses

- `400`: Invalid webhook payload

---

[API](https://skmtc.dev/hibob/apis/employee-data-api.md) - [All operations](https://skmtc.dev/hibob/apis/employee-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hibob/apis/employee-data-api/revisions/9ac25373a355?raw)
