Platform & adminMu Mutation

updateUser

Topics: Admin IAM

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

Returns

UpsertUserPayload!

Arguments

id

UserID!Required

User ID to update

Fields to update — only provided fields are changed

Exact field 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", "iam"])

Declared on Mutation. Access is checked by the platform for each operation.