Update the primary email address linked to your HostUp account. This is useful if you've changed your email or want all communication directed to a new address. Returns a `requestId` to track the operation.
Accept Example Content-Type Example oldEmail string required newEmail string required 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 https://cloud.hostup.se/api/account/change-email curl -X POST "https://cloud.hostup.se/api/account/change-email" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"oldEmail": "string",
"newEmail": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"message": "string",
"email": "string"
}
} {
"oldEmail": "string",
"newEmail": "string"
}