← API reference
Mutation / admin

createUser

Create a new service account. The created user is always a BOT — HUMAN users are provisioned by Control. Requires user:write permission.

Arguments

User data

Returns UpsertUserPayload!

Explore in a view

Administration and IAM
View exact SDL
"""
Create a new service account. The created user is always a BOT — HUMAN users are provisioned by Control. Requires user:write permission.
"""
createUser(
  """User data"""
  input: CreateUserInput!
): UpsertUserPayload! @topic(names: ["admin"])

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