Open a browser console
POST
Returns a temporary link to the VPS console when you need access without SSH. Keep this link private.
Access: API key: vm:write · Session: developer, admin or owner.
- The link is a credential: do not share or log it. Responses are not cached, and console access is recorded in the audit log.
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.
Console link
application/json- response
url*stringShort-lived console websocket URL. A secret.
viewer_url*stringA hosted page that opens the console for you. A secret.
note*stringcurl -X POST 'https://layerbeat.com/v1/vms/string/console'{ "url": "wss://console.example.net:443/vnc?s=…", "viewer_url": "https://console.example.net/viewer?InstanceVncUrl=…", "note": "Short-lived and single-purpose. Do not share."}