POST /dashboard/service/{id}/vps/reset-password

Reset VPS password

Reset the root password for the VPS.

Parameters

NameTypeInDescription
id*
integerpathThe service ID of the VPS.

Request Body

passwordstringRequired

New password for the VPS

Response

200
403
404
successboolean

Request

curl -X POST "https://api.royalehosting.net/dashboard/service/{id}/vps/reset-password" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-organization-id: YOUR_ORG_ID" \
  -H "Content-Type: application/json" \
  -d '{}'

Response

{
  "success": true
}