---
title: "SCIM 2.0: Replace user account"
method: PUT
path: "/scim/v2/Users/{id}"
tags: ["Enterprise"]
---

# SCIM 2.0: Replace user account

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

## Path parameters

- `id` string, uuid, required

## Request body

- LegacyscimSCIMUser
  - `active` boolean — Active is a ptr to prevent the empty value from being interpreted as false.
  - `emails` object[]
    - `display` string
    - `primary` boolean
    - `type` string
    - `value` string, email
  - `groups` unknown[]
    - unknown
  - `id` string
  - `meta` object
    - `resourceType` string
  - `name` object
    - `familyName` string
    - `givenName` string
  - `schemas` string[]
  - `userName` string

## Response `200`

OK

---

[API](https://skmtc.net/coder/apis/coder-api.md) · [All operations](https://skmtc.net/coder/apis/coder-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coder/coder-api/versions/56b6e9f08540/schema)
