---
title: "Update User"
method: PUT
path: "/scim/v2/Users/{user_id}"
tags: ["✨ SCIM v2 (Enterprise Only)"]
---

# Update User

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

Update a user according to SCIM v2 protocol (full replacement)

## Path parameters

- `user_id` string, required

## Query parameters

- `feature` string, nullable

## Request body

- SCIMUser
  - `schemas` string[], required
  - `id` string, nullable
  - `externalId` string, nullable
  - `meta` object, nullable
  - `userName` string, nullable
  - `name` SCIMUserName
    - `familyName` string, nullable
    - `givenName` string, nullable
    - `formatted` string, nullable
    - `middleName` string, nullable
    - `honorificPrefix` string, nullable
    - `honorificSuffix` string, nullable
  - `displayName` string, nullable
  - `active` boolean
  - `emails` SCIMUserEmail[], nullable
    - `value` string, email, required
    - `type` string, nullable
    - `primary` boolean, nullable
  - `groups` SCIMUserGroup[], nullable
    - `value` string, required
    - `display` string, nullable
    - `type` string, nullable

## Response `200`

Successful Response

- SCIMUser
  - `schemas` string[], required
  - `id` string, nullable
  - `externalId` string, nullable
  - `meta` object, nullable
  - `userName` string, nullable
  - `name` SCIMUserName
    - `familyName` string, nullable
    - `givenName` string, nullable
    - `formatted` string, nullable
    - `middleName` string, nullable
    - `honorificPrefix` string, nullable
    - `honorificSuffix` string, nullable
  - `displayName` string, nullable
  - `active` boolean
  - `emails` SCIMUserEmail[], nullable
    - `value` string, email, required
    - `type` string, nullable
    - `primary` boolean, nullable
  - `groups` SCIMUserGroup[], nullable
    - `value` string, required
    - `display` string, nullable
    - `type` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/flock/apis/litellm-api.md) · [All operations](https://skmtc.net/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flock/litellm-api/revisions/8fbaab4fc7c5/schema)
