---
title: "Update a user via PATCH operations"
method: PATCH
path: "/api/v1/scim/v2/Users/{user_id}"
tags: ["scim"]
---

# Update a user via PATCH operations

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

Apply RFC 7644 §3.5.2 PATCH operations to a user.

Only the deactivation operation (``replace`` of ``active`` with ``false``)
is supported; any other operation is rejected with 400 ``invalidValue``.

## Path parameters

- `user_id` string, required

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `400` — Invalid PATCH operation
- `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/patch.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)
