Get available Multi-Factor Authentication (MFA) methods

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.

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
500
error string
message string
code string
timestamp string
requestId string
GET https://cloud.hostup.se/api/mfa/methods
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/mfa/methods" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "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
  }
}