Layerbeat

Reveal the initial generated server password

POST
/v1/vms/{id}/password/reveal

Shows the initial password for a VPS created with random_password.

Access: Original purchaser with vm:write, or their API key. Sessions require developer access or higher.

Authorization

headerAuthorizationBearer <token>

Send Authorization: Bearer <token>. A token is an API key (lb_live_…, scoped, for programs) or a session (lb_sess_…, from signup or login, for people). See Authentication above.

Path Parameters

id*string

The resource id.

Header Parameters

X-Org-ID?string

Sessions only: act on this organization (you must be a member). Default: your first organization.

Response Body

Initial generated password; save it securely before forgetting it.

application/json
  1. response
username*string
Value in"ubuntu""root"
password*string
available_until*string
Formatdate-time
curl -X POST 'https://layerbeat.com/v1/vms/string/password/reveal'
{  "username": "ubuntu",  "password": "ExampleOnly!2026Password",  "available_until": "2026-10-07T10:00:00Z"}