Endpoint
Overview
Stores a 2FA setup key for your organization and returns the new 2FA entry with its current code. When you turn on two-factor authentication in an app, it shows a QR code and a setup key. Send either the setup key (for exampleJBSW Y3DP EHPK 3PXP; spaces are ignored) or the otpauth:// link the QR code contains. Then enter the returned code in the app to finish turning on 2FA. To have Phones Inc read the QR code off one of your phones’ screens instead, use Scan 2FA QR Code.
The setup key is kept so the account can be recovered, and is never returned.
A login in several organizations, or an administrator, must select the entry’s organization with X-Phonesinc-Organization.
Request Body
A name for the entry, for example the account’s username. Up to 120 characters; it cannot be blank.
Response
The new AuthenticatorEntry.