getServiceAccount

Topics: Admin IAM

Read a BOT service account. Returns null for HUMAN and KIOSK accounts.

Returns

UserState

Arguments

id

UserID!Required

Service account identifier

Exact field SDL
"""Read a BOT service account. Returns null for HUMAN and KIOSK accounts."""
getServiceAccount(
  """Service account identifier"""
  id: UserID!
): UserState @topic(names: ["admin", "iam"])

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