TwoFactorAuthV1

Generate a two factor authentication key for the account

Generate a two factor authentication key for the account. This will generate the key, but not require two factor authentication for the account. The two factor authentication process will have to be enrolled first for it to be required.

post/twofactorauth/v1/generate

Request

  • Base URL: https://api.danalock.com
  • URL: https://api.danalock.com/twofactorauth/v1/generate
  • Auth: OAuth 2 (authorization code, authorization URL /oauth2/authorize, token URL /oauth2/token)

Headers

X-Assume-Userstring

Assume the identity of the user in another domain

Request body

object required

Response

activitystring
statusstring
responseQRstring

Example response

{
  "activity": "Generate two factor authentication key",
  "status": "Success"
}

Changes

No recorded changes to this operation across all 1 revision of this API.