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

# Update a user via PATCH operations

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

## Request

- Base URL: `http://127.0.0.1:8052`
- URL: `http://127.0.0.1:8052/scim/v2/Users/{user_id}`
- Auth: none declared

Apply RFC 7644 §3.5.2 PATCH operations to a user.

This slice implements only the active=false deactivation path. Full PATCH
support for arbitrary attribute updates belongs to a later slice.

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

---

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