---
title: "Patches a user"
method: PATCH
path: "/scim/v2/Users/{id}"
tags: ["SCIM"]
---

# Patches a user

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

## Request

- Base URL: `https://api.getcortexapp.com`
- URL: `https://api.getcortexapp.com/scim/v2/Users/{id}`
- Auth: HTTP bearer

Replaces user details based on provided id and data

## Path parameters

- `id` string, required

## Query parameters

- `attributes` string
- `excludedAttributes` string

## Request body

- string

## Response `200`

Returns patched user data

- string

## Other responses

- `400`: The SCIM toggle required for the requested change is disabled (provisioning for reactivation, deprovisioning for deactivation)
- `429`: The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.

## Changes

- **2026-11-03** `a7b058663c95`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cortex/apis/cortex-api/changes/scim/v2/Users/:id/patch.md)

---

[API](https://skmtc.dev/cortex/apis/cortex-api.md) - [All operations](https://skmtc.dev/cortex/apis/cortex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cortex/apis/cortex-api/revisions/a7b058663c95?raw)
