← API reference
Mutation / admin

updateUser

Update a service account. Only provided fields are changed. HUMAN accounts are provisioned by Control and cannot be updated. Requires user:write permission.

Arguments

User ID to update

Fields to update — only provided fields are changed

Returns UpsertUserPayload!

Explore in a view

Administration and IAM
View exact SDL
"""
Update a service account. Only provided fields are changed. HUMAN accounts are provisioned by Control and cannot be updated. Requires user:write permission.
"""
updateUser(
  """User ID to update"""
  id: UserID!
  """Fields to update — only provided fields are changed"""
  input: UpdateUserInput!
): UpsertUserPayload! @topic(names: ["admin"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.