Update User
POST/user/update
Updates fields on an existing user. Partial updates are supported: only the fields provided in user are changed, and user.userId defaults to the authenticated user when omitted. Send startDate: null to clear the start date. Requires the user:update permission for the target user, and archiving or restoring a user (isDeleted) also requires user:manage. Fields listed in the company lockedUserFields preference can be changed only by callers with user:manage on the user, and changing your own locked fields needs company-wide user:manage. A request from anyone else that changes a locked field is rejected and nothing is saved. Locking avatar instead withholds uploadAvatarUrl from /user/profile under the same rule. To change team membership or roles on a team, use /team/member/add or /team/member/update instead.
Request
Responses
- 200
- default
- 4XX
Success
Error
Unauthorized