Reveal the initial generated server password
POST
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.
- Available for 24 hours after successful provisioning, or until forgotten. Custom passwords are never returned.
- Repeated requests return the same password; this does not reset the server password. Other users receive
404.
header
AuthorizationBearer <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.
id*stringThe resource id.
X-Org-ID?stringSessions only: act on this organization (you must be a member). Default: your first organization.
Initial generated password; save it securely before forgetting it.
application/json- response
username*stringValue in
"ubuntu""root"password*stringavailable_until*stringFormat
date-timecurl -X POST 'https://layerbeat.com/v1/vms/string/password/reveal'{ "username": "ubuntu", "password": "ExampleOnly!2026Password", "available_until": "2026-10-07T10:00:00Z"}