Add and configure a YubiKey as a two-factor authentication (MFA) method for your account. This increases security by requiring a physical YubiKey in addition to your password for login.
Accept Example Content-Type Example otp string required methodName string required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/mfa/setup/yubikey curl -X POST "https://cloud.hostup.se/api/mfa/setup/yubikey" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"otp": "string",
"methodName": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"method": {
"id": 0,
"name": "string",
"type": "string",
"publicId": "string"
}
}
} {
"otp": "string",
"methodName": "string"
}