2FA
Enable2 F A
Changed onpost/api/user/2fa/enable
Request
- Base URLhttps://api.unorouter.com (the document declares no server; this is the origin it was published from)
- Auth
- API key in header Authorization and API key in header New-Api-User
- or API key in header New-Api-User and API key in cookie session
Request body
Verify2 FARequest required
Verify2FARequest schema
code, string required
flow_token, string
Response
OK
Response Dto Auth Rotation Data required
Response_dto.AuthRotationData schema
data, Auth Rotation Data required
message, string required
success, boolean required
Changes
- breaking
added required request body
- breaking
the
dataresponse's property type changed from no type toobjectfor status (media type: application/json) - warning
removed the optional property
objectfrom the response with the status (media type: application/json)
11 more changes in this revision
- breaking