Magidoc

editAccountFlags
Mutation

[Root only] Edits account flags (deleted, banned, archived, trusted host)

Arguments

#

account

Non-null

Account to change the flags for

isArchived

Specify whether the account is archived

isTrustedHost

Specify whether the account is a trusted host

isTwoFactorAuthEnabled

Set this to false to disable 2FA. Other values have no effect.

Response

#

Returns Account !.

Example

#