https://api.ssdnodes.com/servers/{vm_id}/console/{action}
Authorization: Bearer 123456789123456789123456789123456789
Content-Type: application/json
| Parameter | Values Allowed | Default Value | Description | 
|---|---|---|---|
| vm_id* | <VM ID> | ID of the VM | |
| action* | [enable,disable] | Specify action to enable or disable console status of a VM | 
[
   {
       "status": "success",
       "msg": "Enable Console task added in queue. Check your dashboard for updates."
   }
]
[
   {
       "status": "error",
       "msg": "Action not allowed."
   }
]
                curl -X POST https://api.ssdnodes.com/servers/1234/console/enable -H "Authorization: Bearer 123456789123456789123456789123456789"
            
            Copied!