Change email account password

Change the password for an existing email account. The new password takes effect immediately and affects all email clients configured with the old password.

Path Parameters

accountId integer · min: 1 required Example

Unique account identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
email string required
domain string required
newPassword string required

Responses

200
success boolean
timestamp string
requestId string
data object
422
error string
message string
code string
timestamp string
requestId string
details array
PUT https://cloud.hostup.se/api/hosting/{accountId}/email-accounts/password
For AI assistants
cURL
curl -X PUT "https://cloud.hostup.se/api/hosting/7297/email-accounts/password" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "string",
    "domain": "string",
    "newPassword": "string"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "accountId": "string",
    "cpanelUsername": "string",
    "email": "string",
    "changed": true
  }
}
Request Body
{
  "email": "string",
  "domain": "string",
  "newPassword": "string"
}