Virtual Machines
Set console access policy
Changed onToggle whether the VM's web console (terminal or VNC) asks for a fresh two-factor code before it opens. Off by default. When on, the dashboard prompts for the authenticator code (a confirmation unlocks protected consoles for 1 hour), and API keys cannot open the console. Which members may open the console at all is governed by the vm.console permission.
patch/api/v1/vms/{id}/console-policy
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/vms/{id}/console-policy
- AuthAPI key in header X-API-Key
Path parameters
idstring uuid required
VM ID (UUID)
Headers
X-Project-IDstring uuid required
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Request body
Response
Console policy updated
Example response
{
"success": true,
"message": "Operation completed successfully"
}Changes
- info
endpoint added
- info