adminUserMfaReset
Reset two-factor authentication for an administrative user, for example after they lost the phone they enrolled.
Removes every second factor of the user and stops their sessions from refreshing. Tokens already issued stay valid until they expire (up to an hour). At their next sign-in they have no second factor; if any tenant they can access requires two-factor authentication, they are asked to set it up again. Only users the caller is allowed to read can be reset.
Possible errors:
- NOT_FOUND / ADMIN_USER_NOT_FOUND_ERROR: User with the specified email does not exist or is not visible to the caller
- UNAUTHENTICATED: Invalid or missing authentication token
- FORBIDDEN: Insufficient permissions to reset administrative users
AUTH: Role=[role.OWNER]
adminUserMfaReset(
email: String!
): Boolean!
Arguments
adminUserMfaReset.email ● String! non-null scalar
Email address of the administrative user whose two-factor authentication is reset.
Type
Boolean scalar
The Boolean scalar type represents true or false.