Skip to main content
PATCH
http://localhost:3000
/
users
/
{id}
curl -X PATCH 'https://api.example.com/users/user_jane' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "displayName": "Jane D.",
    "defaultTenantId": "tenant_globex"
  }'
{
  "id": "user_jane",
  "subjectId": "subject_jane",
  "kindeId": "kp_abc123",
  "email": "jane@acme.com",
  "displayName": "Jane D.",
  "defaultTenantId": "tenant_globex",
  "status": "active",
  "updatedAt": "2024-01-16T10:30:00Z"
}

Path Parameters

id
string
required
The user ID to update

Request Body

All fields are optional. Only provided fields will be updated.
firstName
string
First name
lastName
string
Last name
displayName
string
Display name
avatarUrl
string
Avatar URL
defaultTenantId
string
Default tenant
status
string
User status. One of: active, inactive, suspended

Response

Returns the updated user object.
curl -X PATCH 'https://api.example.com/users/user_jane' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "displayName": "Jane D.",
    "defaultTenantId": "tenant_globex"
  }'
{
  "id": "user_jane",
  "subjectId": "subject_jane",
  "kindeId": "kp_abc123",
  "email": "jane@acme.com",
  "displayName": "Jane D.",
  "defaultTenantId": "tenant_globex",
  "status": "active",
  "updatedAt": "2024-01-16T10:30:00Z"
}