---
title: "Path session users unenrolled"
method: POST
path: "path.session.users.unenrolled"
tags: ["Path"]
---

# Path session users unenrolled

`POST path.session.users.unenrolled` (webhook)

Sent to your endpoint when users are unenrolled from a path session on your platform.

## Headers

- `webhook-signature` string, required
- `webhook-id` string, required
- `webhook-timestamp` string, required

## Payload

- object
  - `type` 'path.session.users.unenrolled', required — The type of the event.
  - `timestamp` integer, required — The date and time when the event was triggered in your platform, in the Unix epoch format (number of milliseconds that have elapsed since January 1, 1970).
  - `data` PathSessionUsersUnenrolledDTO, required
    - `pathId` string, ObjectId, required — The unique ID of the path.
    - `sessionId` string, ObjectId, required — The unique ID of the path session.
    - `unenrolledAt` string, date-time, required — The date and time when the unenrollment occurred, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC)). Equal to the `archivedAt` field on the unenrolled enrollments.

## Acknowledgement `2XX`

The event is considered as accepted for any 2xx response code.

## Other responses

- `default` — The event is considered as rejected for any other response code. The event emission will be retried later.

---

[API](https://skmtc.dev/360learning/apis/webhook-api.md) · [All operations](https://skmtc.dev/360learning/apis/webhook-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/360learning/webhook-api/revisions/18374878903d/schema)
