---
title: "User deleted"
method: POST
path: "user.deleted"
tags: ["User"]
---

# User deleted

`POST user.deleted` (webhook)

Sent to your endpoint when a user is soft deleted from your platform.

## Headers

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

## Payload

- object
  - `type` 'user.deleted', 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` UserDeletedDTO, required
    - `userId` string, ObjectId, required — The unique ID of the user.
    - `firstName` string — The first name of the user.
    - `lastName` string — The last name of the user.
    - `mail` string — The email address of the user.
    - `username` string — The username that can be used to log in if the company allows it.
    - `deletedAt` string, date-time, required — The date and time when the user was soft deleted, in the `YYYY-MM-DDThh:mm:ss.sssZ` format (ISO 8601 in Coordinated Universal Time (UTC)).

## 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)
