---
search:
  tags:
    - organizations
    - PATCH
seo:
  description: >-
    Partially updates an existing organization member. Only the… Reference for
    the PATCH /organizations/members/{id} endpoint in the Leadtime Public API
    API.
sidebar:
  badge: PATCH
  label: Update organization member
title: Update organization member
type: openapi-operation
---
Partially updates an existing organization member. Only the fields you provide will be updated; all other fields remain unchanged.

**Automatic user synchronization:**
Changes to certain fields automatically sync to the associated user account:
- `firstName` → Updates user's first name
- `lastName` → Updates user's last name
- `email` → Updates user's email address
- `roleId` → Updates user's role
- `canLogin` → Controls user access and status

**Login access changes:**
- **Enabling login** (`canLogin: false → true`):
  - User status changes to Active
  - In ready workspaces, an invitation email is sent with a secure link for setting a password
  - During initial workspace setup, invitation email delivery is deferred until setup is finished
  - User can now log in as a guest user
- **Disabling login** (`canLogin: true → false`):
  - User status changes to Inactive
  - Invite token is cleared
  - User can no longer log in

**Avatar management:**
- To update avatar: provide an avatar configuration ID. During the transition, an uploaded image file ID is also accepted.
- To remove avatar: Set `avatarId` to `null` or an empty string

**All other fields** (address, phone, personality traits, etc.) can be updated independently without affecting the user account.

<Operation source="api-reference" id="organizationmemberscontroller-updateorganizationmember" />
