Skip to main content

setSuperAdmin

ADMIN PRIVILEGE CHANGE: grants or revokes platform super-admin on the target user, changing their privileges across the whole platform. Requires a super-admin bearer game token (and the management API enabled).

setSuperAdmin(
userId: BigInt!
value: Boolean!
): User!

Arguments

setSuperAdmin.userId ● BigInt! non-null scalar

Target user id (BigInt as a decimal string).

setSuperAdmin.value ● Boolean! non-null scalar

true grants super-admin; false revokes it.

Type

User object