---
title: "Patch a User"
method: PATCH
path: "/scim/v2/sso/{connection_name}/Users/{id}"
tags: ["Users (scim/v2)"]
---

# Patch a User

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

[![General Availability](https://img.shields.io/badge/Lifecycle%20Stage-General%20Availability-%2345c6e8)](#section/Versioning/API-Lifecycle-Policy)

Make a request to patch a user.

## Path parameters

- `connection_name` string, required
- `id` string, required

## Request body

- ScimV2PatchOp — SCIM Patch operation for making partial updates to user attributes. Supports add, remove, and replace operations on specific user properties without requiring a full user object update.
  - `api_version` 'scim/v2' — APIVersion defines the schema version of this representation of a resource.
  - `kind` 'PatchOp' — Kind defines the object this REST resource represents.
  - `id` string — ID is the "natural identifier" for an object within its scope/namespace; it is normally unique across time but not space. That is, you can assume that the ID will not be reclaimed and reused after an object is deleted ("time"); however, it may collide with IDs for other object `kinds` or objects of the same `kind` within a different scope/namespace ("space").
  - `metadata` object — ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
    - `self` string, uri, required — Self is a Uniform Resource Locator (URL) at which an object can be addressed. This URL encodes the service location, API version, and other particulars necessary to locate the resource at a point in time
    - `resource_name` string, uri — Resource Name is a Uniform Resource Identifier (URI) that is globally unique across space and time. It is represented as a Confluent Resource Name
    - `created_at` string, date-time — The date and time at which this object was created. It is represented in RFC3339 format and is in UTC.
    - `updated_at` string, date-time — The date and time at which this object was last updated. It is represented in RFC3339 format and is in UTC.
    - `deleted_at` string, date-time — The date and time at which this object was (or will be) deleted. It is represented in RFC3339 format and is in UTC.
  - `schemas` string[] — The SCIM schema.
  - `Operations` object[] — A list of patch operations.
    - `op` 'add' | 'remove' | 'replace', required — The operation to perform.
    - `path` string — The attribute path describing the target of the operation.
    - `value` union — The value to be used within the operation.
      - string
      - boolean
      - object

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Rate Limit Exceeded
- `500` — Internal Server Error

## Changes

- **2026-09-18** `83f5e4fbfe08` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/confluent/apis/confluent-cloud-apis/changes/scim/v2/sso/:connection_name/Users/:id/patch.md)

---

[API](https://skmtc.dev/confluent/apis/confluent-cloud-apis.md) · [All operations](https://skmtc.dev/confluent/apis/confluent-cloud-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/confluent/apis/confluent-cloud-apis/revisions/cd93f933f941?raw)
