2FA
post/api/user/2fa/enable

Request

  • Base URL
    https://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

Verify2FARequest required

Verify2FARequest schema

code, string required
flow_token, string

Response

OK

ResponseDtoAuthRotationData required

Response_dto.AuthRotationData schema

data, AuthRotationData required
message, string required
success, boolean required

Changes

    • breaking

      added required request body

    • breaking

      the data response's property type changed from no type to object for status (media type: application/json)

    • warning

      removed the optional property object from the response with the status (media type: application/json)

    11 more changes in this revision