---
title: "Delete a user (soft delete with history retention)"
method: DELETE
path: "/api/v1/scim/v2/Users/{user_id}"
tags: ["scim"]
---

# Delete a user (soft delete with history retention)

`DELETE /api/v1/scim/v2/Users/{user_id}`

Soft-delete a user per SCIM 2.0 DELETE semantics.

SCIM clients expect DELETE to remove the resource. This server marks the
principal inactive while retaining its history in the chain, as declared
in ServiceProviderConfig. The 204 response signals successful removal to
the client; the ledger records the deprovisioning event.

## Path parameters

- `user_id` string, required

## Response `204`

Successful Response

## Other responses

- `404` — Unknown principal
- `422` — Validation Error

## Changes

- **2026-09-22** `4e03c393346d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sipyourdrink-ltd/apis/bernstein-task-server/changes/api/v1/scim/v2/Users/:user_id/delete.md)

---

[API](https://skmtc.dev/sipyourdrink-ltd/apis/bernstein-task-server.md) · [All operations](https://skmtc.dev/sipyourdrink-ltd/apis/bernstein-task-server/llms.txt) · [OpenAPI document](https://skmtc.dev/sipyourdrink-ltd/apis/bernstein-task-server/revisions/460961424652?raw)
