โ† API reference
Mutation / admin

deleteUser

Delete a service account. HUMAN accounts are provisioned by Control and cannot be deleted here. Requires user:delete permission.

Arguments

User ID to delete

Returns DeletePayload!

Scalar fields at a glance

successBoolean!
โ†— View the complete DeletePayload type

Explore in a view

Administration and IAM
View exact SDL
"""
Delete a service account. HUMAN accounts are provisioned by Control and cannot be deleted here. Requires user:delete permission.
"""
deleteUser(
  """User ID to delete"""
  id: UserID!
): DeletePayload! @topic(names: ["admin"])

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