Skip to main content
POST
Enrolls user in multi-factor authentication
Applies to BloodHound Enterprise and CE

Authorizations

Authorization
string
header
required

Authorization: Bearer $JWT_TOKEN

Headers

Prefer
string
default:wait=30

Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240. Passing in wait=-1 bypasses all timeout limits when the feature is enabled.

Pattern: ^wait=(-1|[0-9]+)$

Path Parameters

user_id
string<uuid>
required

User ID

Body

application/json

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

secret
string

Response

OK

data
object