Skip to main content

blockAccount

ADMIN/DESTRUCTIVE: blocks an account platform-wide. Every session and app token it holds is revoked, its realtime sessions and ck-exec sockets (developer sessions too) end in every datacenter, its mods stop, and every later sign-in and request, on CK and on Crowd Altar, is refused with ACCOUNT_BLOCKED until until (or until unblockAccount when absent). Not yourself, not a super-admin. Requires a super-admin bearer game token.

blockAccount(
userId: BigInt!
reason: String!
until: DateTime
): AccountBlock!

Arguments​

blockAccount.userId ● BigInt! non-null scalar​

Target user id (BigInt as a decimal string).

blockAccount.reason ● String! non-null scalar​

Why (1 to 500 characters). Kept on the account; shown to super-admins, not to the account.

blockAccount.until ● DateTime scalar​

When the block lapses by itself (ISO-8601, in the future). Absent: until unblockAccount.

Type​

AccountBlock object​

A platform-wide block on an account, set by a super-admin. While it holds, every sign-in and every authenticated request is refused with ACCOUNT_BLOCKED, on CK and on Crowd Altar, and every session, realtime connection and ck-exec socket the account had was ended when it was set. The last block stays readable after it is lifted or lapses.