> ## Documentation Index
> Fetch the complete documentation index at: https://docs.accessowl.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Offboarding Events

AccessOwl emits webhook events throughout the offboarding lifecycle. All offboarding event payloads share a common `data` structure:

| Field           | Type   | Description                                           |
| --------------- | ------ | ----------------------------------------------------- |
| `affected_user` | object | The employee being offboarded                         |
| `manager`       | object | The employee's manager                                |
| `created_by`    | object | The actor who initiated the offboarding               |
| `scheduled_for` | string | ISO 8601 timestamp of the planned deprovisioning date |

<Tabs>
  <Tab title="offboarding.scheduled">
    Fired when a new offboarding is scheduled—either manually or via an HRIS integration.

    ```json theme={null}
    {
      "affected_user": {
        "departments": [
          "Engineering"
        ],
        "email": "john.doe@example.com",
        "full_name": "John Doe",
        "id": "8b15e986-84ac-4dbc-8e66-c82ebf3d2fc2",
        "job_title": "Software Engineer",
        "location": "Berlin",
        "manager": {
          "email": "jane.manager@example.com",
          "full_name": "Jane Manager",
          "id": "435c2e4c-2b3d-4c96-84ee-5667d671e1c1"
        },
        "teams": [
          "Backend"
        ]
      },
      "created_by": {
        "email": "admin@example.com",
        "full_name": "Admin User",
        "id": "5a3e57df-2d08-46be-b5bd-b3ea505a3d26",
        "type": "manual"
      },
      "scheduled_for": "2022-07-16T23:42:00Z"
    }
    ```
  </Tab>

  <Tab title="offboarding.finished">
    Fired when all deprovisioning steps for an offboarding have been completed.

    The `data` object includes one additional field:

    | Field         | Type   | Description                                          |
    | ------------- | ------ | ---------------------------------------------------- |
    | `finished_at` | string | ISO 8601 timestamp of when the offboarding completed |

    ```json theme={null}
    {
      "affected_user": {
        "departments": [
          "Engineering"
        ],
        "email": "john.doe@example.com",
        "full_name": "John Doe",
        "id": "8b15e986-84ac-4dbc-8e66-c82ebf3d2fc2",
        "job_title": "Software Engineer",
        "location": "Berlin",
        "manager": {
          "email": "jane.manager@example.com",
          "full_name": "Jane Manager",
          "id": "435c2e4c-2b3d-4c96-84ee-5667d671e1c1"
        },
        "teams": [
          "Backend"
        ]
      },
      "created_by": {
        "email": "admin@example.com",
        "full_name": "Admin User",
        "id": "5a3e57df-2d08-46be-b5bd-b3ea505a3d26",
        "type": "manual"
      },
      "finished_at": "2022-07-13T23:42:00Z",
      "scheduled_for": "2022-07-12T23:42:00Z"
    }
    ```
  </Tab>
</Tabs>
