ClarifyAPI
Users

Update a user

Sets a workspace user’s name and returns the updated user as a JSON:API resource. Users can rename themselves, including with an API key bound to them; renaming someone else needs a workspace admin signed in with a user access token. The name then survives later sign-ins.

PATCH
/workspaces/{workspace}/users/{userId}
Authorization<token>

API key authentication. Send your key in the Authorization header as: api-key <your-api-key>.

In: header

Path Parameters

workspace*string

The workspace slug — the {slug} segment of your Clarify workspace URL.

userId*string

The unique ID of the user.

Query Parameters

silent?boolean

When true, suppresses in-app and Slack notifications for this mutation and batches its live updates, so open views can lag by up to 20 seconds.

Header Parameters

clarify-version?string

The API version for this request. Send 2026-11 to get the behavior documented here. Omit it to use your API key's version, which this header can raise but not lower.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/workspaces/string/users/string" \  -H "clarify-version: 2026-11" \  -H "Content-Type: application/json" \  -d '{    "name": {      "first_name": "Alex",      "last_name": "Rivera"    }  }'
{  "data": {    "type": "user",    "id": "7d4e2f9a-1b3c-4d5e-8f6a-9c0b2d4e6f81",    "attributes": {      "_id": "7d4e2f9a-1b3c-4d5e-8f6a-9c0b2d4e6f81",      "name": {        "first_name": "Alex",        "last_name": "Rivera"      },      "roles": {        "items": [          "member"        ]      },      "email": "alex@acme.com",      "profile_picture": "https://storage.clarify.ai/avatars/acme/alex-rivera.png",      "last_active_at": "2026-02-01T17:45:00.000Z",      "_created_at": "2026-01-15T09:30:00.000Z",      "_updated_at": "2026-02-01T17:45:00.000Z"    }  }}