Skip to main content

updateUserType

Sets the target user’s account user_type (e.g. "direct", "deleted"). Requires a super-admin bearer game token (and the management API enabled). NOTE: management-owned in cks-game-api (throws ForbiddenException) — use cks-management-api.

updateUserType(
userId: BigInt!
value: String!
): User!

Arguments

updateUserType.userId ● BigInt! non-null scalar

Target user id (BigInt as a decimal string).

updateUserType.value ● String! non-null scalar

New user_type string, e.g. "direct".

Type

User object