Skip to main content

setOperator

Super-admin only. Flip users.is_operator to grant or revoke control-plane / operator access.

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

Arguments

setOperator.userId ● BigInt! non-null scalar

Target user id (BigInt as string).

setOperator.value ● Boolean! non-null scalar

true to grant operator access, false to revoke.

Type

User object