Log in users to your account and handle Multi-Factor Authentication (MFA). This endpoint returns an ID that may be needed for subsequent calls to other API services, such as billing or domain management.
Accept Example Content-Type Example username string required password string required rememberMe boolean required rememberDevice boolean required mfaCode string success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string accountStatus string https://cloud.hostup.se/api/login curl -X POST "https://cloud.hostup.se/api/login" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"username": "string",
"password": "string",
"rememberMe": true,
"rememberDevice": true,
"mfaCode": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"requiresHostBillMFA": true,
"language": "string",
"shouldMigrateMFA": true
}
} {
"username": "string",
"password": "string",
"rememberMe": true,
"rememberDevice": true,
"mfaCode": "string"
}