Reset cPanel password

Sets a new password for your cPanel account. This also affects the primary FTP account.

Path Parameters

accountId integer · min: 1 required

accountId parameter

Headers

Accept Example
Content-Type Example

Body

required
application/json
newPassword string required

Responses

200 Successful response

No response body

POST https://cloud.hostup.se/api/hosting/{accountId}/cpanel/reset-password
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/hosting/0/cpanel/reset-password" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "newPassword": "string"
  }'
Response
{}
Request Body
{
  "newPassword": "string"
}