Platform & adminMu Mutation

upsertUser

Topics: Admin IAM

Create or update a service account. Only BOT accounts are writable through the API — HUMAN users are provisioned by Control and are read-only here. Requires user:write permission.

Returns

UpsertUserPayload!

Arguments

User data

Exact field SDL
"""
Create or update a service account. Only BOT accounts are writable through the API — HUMAN users are provisioned by Control and are read-only here. Requires user:write permission.
"""
upsertUser(
  """User data"""
  input: UpsertUserInput!
): UpsertUserPayload! @topic(names: ["admin", "iam"])

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