Skip to main content

updateUserType

Super-admin only. Sets the user's account type (users.user_type, e.g. 'direct'). Requires the caller to be a super admin.

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

Arguments

updateUserType.userId ● BigInt! non-null scalar

Target user id (BigInt as string).

updateUserType.value ● String! non-null scalar

New user_type value (e.g. 'direct').

Type

User object