Change email address associated with your account

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.

Headers

Accept Example
Content-Type Example

Body

required
application/json
oldEmail string required
newEmail string required

Responses

200
success boolean
timestamp string
requestId string
data object
400
error string
message string
code string
timestamp string
requestId string
500
error string
message string
code string
timestamp string
requestId string
POST https://cloud.hostup.se/api/account/change-email
For AI assistants
cURL
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"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "message": "string",
    "email": "string"
  }
}
Request Body
{
  "oldEmail": "string",
  "newEmail": "string"
}