VPS: rotate SSH token
Issues a fresh one-time SSH/SFTP-over-WebSocket bearer token for the VPS (invalidates any previous one) and returns the ready-to-paste connect commands. The server's own SSH login is still required.
Request
Response
Errors
An error keeps the envelope: a negative code and a message in data.
Related methods
vps_ssh_access_rotateuserRegenerates the connection token for an existing named SSH developer access (invalidates the previous one) and returns the new plaintext token and connect commands once.
vps_disable_sshuserDisables SSH-over-WebSocket access for the VPS (the router stops resolving the tunnel). Keeps the subdomain.
vps_enable_sshuserEnables SSH/SFTP-over-WebSocket access for the VPS (idempotent). Returns the connect commands with a token on first enable.
vps_ssh_access_createuserCreates a new named SSH-over-WebSocket developer access, mints a one-time connection token (only its hash is stored), and returns the plaintext token and connect commands once. Optionally sets an expiry.
vps_ssh_access_deleteuserDeletes a named SSH developer access. Its token stops working immediately.
vps_ssh_access_listuserLists every SSH/SFTP-over-WebSocket developer access for a VPS: label, creation date, expiry, active or suspended status, and live online state. Read-only, owner-gated. Never returns the token itself.
51 of 61 in Applications