---
title: "Replace a user"
method: PUT
path: "/Users/{id}"
---

# Replace a user

`PUT /Users/{id}`

Replaces all of a user's attributes.

## Path parameters

- `id` integer, required

## Response `201`

Returns `201 Created` and the user resource.

## Other responses

- `400` — Returns `400 Bad request` and a SCIM error describing the invalid attribute.
- `404` — Returns `404 Not found` and a SCIM error when no user matches the ID.

---

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