VPS SSH: regenerate access token
Regenerates the connection token for an existing named SSH developer access (invalidates the previous one) and returns the new plaintext token and connect commands once.
Request
Response
Errors
An error keeps the envelope: a negative code and a message in data.
Related methods
vps_rotate_ssh_tokenuserIssues 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.
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.
vps_ssh_access_set_statususerSuspends or re-activates a named SSH developer access. A suspended access is refused by the router immediately.
vps_ssh_access_updateuserEdits a named SSH developer access: change its label and or expiry. Does not change the token.
56 of 61 in Applications