# Delete a user

Removes a person from the account. The record is soft-deleted rather than
erased, so their history on shifts, training and forms is preserved and the
deletion can be undone in-platform.
Deleting someone whose permissions other account configuration relies on -
a report or a group they created - is refused with a `405` naming what
stands in the way. That refusal can be overridden by repeating the request
with the `reference` from the response in `override[]`, which accepts the
consequence the message describes.

Endpoint: DELETE /api/v2/user/{id}
Version: 2.0.0
Security: default

## Path parameters:

  - `id` (integer, required)
    The ID of the user.

## Header parameters:

  - `Rosterfy-Platform` (string)

## Response 405 fields (application/json):

  - `message` (string)

  - `reference` (string)

