cURL
curl --request POST \ --url https://{tenantId}.api.nestmed.com/api/v1/auth/2fa/verify \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "code": "<string>" } '
{ "error": { "code": "<string>", "message": "<string>", "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "details": {} } }
Verifies the 2FA code to complete the setup process.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The 6-digit code from the authenticator app.
2FA successfully enabled.