See which Multi-Factor Authentication (MFA) methods are available for your account. It also returns a unique ID that may be needed for follow-up actions related to security settings. Use this endpoint when you want to manage or review your account's security options.
Accept Example Content-Type Example success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string https://cloud.hostup.se/api/mfa/methods curl -X GET "https://cloud.hostup.se/api/mfa/methods" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"methods": [
{
"id": 0,
"type": "string",
"name": "string",
"isPrimary": true,
"createdAt": "string",
"lastUsedAt": "string"
}
],
"hasBackupCodes": true,
"hasHostBillMFA": true,
"hostbillMfaType": "string",
"hostbillModuleId": 0
}
}