Skip to main content

Change the VPS root password

POST 

/services/:id/password

Changes the root password via a Virtualizor act=editvs round-trip (the official WHMCS module pattern: first GET the full config, then POST it back with editvps=1 + rootpass).

IMPORTANT: For the password to take EFFECT on the VPS, most virtualization types require a power cycle (off/on). This endpoint ONLY writes the new password to Virtualizor; the reseller module performs the poweroff + start orchestration after the change itself.

Idempotency-Key: OPTIONAL (rewriting the same password is harmless; not destructive like rebuild).

Rate limit: services_changes_120rpm bucket.

Security: The password is NEITHER LOGGED NOR returned in the response.

vps_id null: 422 service_not_provisioned.

Request

Responses

Password changed (a power cycle may still be required)

Response Headers
    X-RateLimit-Limit

    The per-minute limit defined for this key

    X-RateLimit-Remaining

    Number of requests remaining in the current window

    X-RateLimit-Reset

    Unix epoch of the start of the next window (UTC seconds)