Magidoc

updateUserProfile
Mutation

Updates a workspace member's profile, managers, work dates, utilization target, or resourcing rates. Always pass the target userId. Editing another member requires workspace-admin access; managers, rates, the utilization target and work dates each also need their workspace permission, on the caller's own profile too. Use billRateFloat and costRateFloat rather than deprecated integer rate fields.

Arguments

#

workspaceId

ID !
Non-null

userId

firstName

lastName

email

photo

phone

managers

[ID !]

firstDayOfWork

lastDayOfWork

utilizationTarget

billRate

billRateFloat

costRate

costRateFloat

dateFormat

startOfWeek

language

githubUsername

Response

#

Returns User .

Example

#