Skip to content

Start binding an authenticator.​

POST
/erupt-api/mfa/enroll

Returns the TOTP secret and otpauth URI to show as a QR code. Nothing is bound until enroll-confirm succeeds.

Authorizations​

tokenHeader

Login token from POST /erupt-api/login, or from /erupt-api/open-api/create-token for server-to-server calls.

Type
API Key (header: token)

Request Body​

application/x-www-form-urlencoded

Responses​

OK

*/*
JSON
{
  
"data": {
  
  
"uri": "string",
  
  
"secret": "string"
  
},
  
"message": "string",
  
"success": true,
  
"status": "SUCCESS",
  
"promptWay": "DIALOG"
}

Playground​

Server
Authorization
Body

Samples​

Released under the Apache-2.0 License.