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

# Replace a user

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

## Request

- Base URL: `https://api.routebase.dev`
- URL: `https://api.routebase.dev/scim/v2/{orgSlug}/Users/{id}`
- Auth: HTTP bearer

Replaces the attributes of a user wholesale. Attributes you leave out are
cleared, so send the complete resource rather than a partial one.

## Path parameters

- `ScimId` string, uuid, required
- `OrgSlug` string, required

## Headers

- `X-RB-Region` string

## Response `200`

The updated user.

## Other responses

- `400`: A SCIM error envelope.
- `404`: A SCIM error envelope.
- `429`: The rate limit was exceeded. The `Retry-After` header gives the seconds to wait. SCIM is counted per source IP.

---

[API](https://skmtc.dev/routebase/apis/routebase-public-api.md) · [All operations](https://skmtc.dev/routebase/apis/routebase-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/routebase/apis/routebase-public-api/revisions/7187df489f27?raw)
