Params

Param name Description
id
required

ID of the user whose TOTP secret should be cleared

Validations:

  • Must be a String

Returns

Code: 200

Description:

Updated user object in JSON format with the keys: id, duplicates_ids, office365_id, apple_id, google_id, apple_email, at_code, birthdate, email, family_name, given_name, google_email, is_cct, male, mobile, non_latin_family_name, non_latin_given_name, office365_email, old_student, primary_country, student_account_app, teacher_type, username, confirmed, sign_up_complete, session_info, student_account_url, mfa_set_up, is_at

Param name Description

Code: 400

Description:

Error message when the TOTP secret cannot be reset, in format: {error: error_message}

Param name Description

Code: 401

Description:

Unauthorized - invalid or missing OAuth token

Param name Description