POST
/
api
/
v2
/
bloodhound-users
/
{user_id}
/
mfa
{
  "data": {
    "qr_code": "<string>",
    "totp_secret": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Authorization: Bearer $JWT_TOKEN

Headers

Prefer
integer
default:0

Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.

Required range: x >= 0

Path Parameters

user_id
string
required

User ID

Body

application/json
The request body for enrolling a user in multi-factor authentication

The body is of type object.

Response

200
application/json
OK

The response is of type object.