---
title: "Update SCIM user attributes"
method: PATCH
path: "/v1/provisioning/scim/Users/{userId}"
tags: ["Accounts and users"]
---

# Update SCIM user attributes

`PATCH /v1/provisioning/scim/Users/{userId}`

## Request

- Base URL: `https://yourbaseurl.talon.one`
- URL: `https://yourbaseurl.talon.one/v1/provisioning/scim/Users/{userId}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/talon/apis/management-api/docs/v1/provisioning/scim/Users/:userId/patch.ts> (a function with typed inputs; its response is checked against the schema)

> [!note] Management API endpoints are **not** meant to be used in real-time integrations that directly serve your end users. Rate limit: 3 requests per second.

Update certain attributes of a specific Talon.One user created using the SCIM provisioning protocol with an identity provider, for example, Microsoft Entra ID.

This endpoint allows for selective adding, removing, or replacing specific attributes while leaving other attributes unchanged.

## Path parameters

- `userId` integer, required

## Request body

- ScimPatchRequest: SCIM Patch request
  - `schemas` string[]: SCIM schema for the given resource.
  - `Operations` ScimPatchOperation[], required
    - `op` 'add' | 'remove' | 'replace', required: The method that should be used in the operation.
    - `path` string: The path specifying the attribute that should be updated.
    - `value` string: The value that should be updated. Required if `op` is `add` or `replace`.

## Response `200`

User details

- ScimUser: Additional user properties, that are not processed by Talon.One, but only stored and returned in the User response.
  - `active` boolean: Status of the user.
  - `displayName` string: Display name of the user.
  - `userName` string, required: Unique identifier of the user. This is usually an email address.
  - `name` object: The components of the user's real name.
    - `formatted` string: The full name, including all middle names, titles, and suffixes as appropriate, formatted for display.
  - `id` string, required: ID of the user.

---

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