cURL
curl --request POST \ --url https://{tenantId}.api.nestmed.com/api/v1/auth/2fa/enable \ --header 'Authorization: Bearer <token>'
{ "secret": "<string>", "qrCode": "<string>", "backupCodes": [ "<string>" ] }
Initiates the 2FA setup process for the authenticated user, returning a secret and QR code.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
2FA secret and QR code for setup.
The secret key for the authenticator app.
A data URI for a QR code image to be displayed to the user.