curl --request POST \
--url https://bloodhound.specterops.io/openapi.json/api/v2/bloodhound-users/{user_id}/mfa \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"secret": "<string>"
}
'{
"data": {
"qr_code": "<string>",
"totp_secret": "<string>"
}
}Enrolls user in multi-factor authentication
curl --request POST \
--url https://bloodhound.specterops.io/openapi.json/api/v2/bloodhound-users/{user_id}/mfa \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"secret": "<string>"
}
'{
"data": {
"qr_code": "<string>",
"totp_secret": "<string>"
}
}Authorization: Bearer $JWT_TOKEN
Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.
User ID
The request body for enrolling a user in multi-factor authentication
OK
Show child attributes