Reset VM Root Password

Reset the root password of the VM.
Note that the password will be randomly generated.

You will need first to: Note: Resetting the root password will force a VM restart

Request URL Format:

https://api.ssdnodes.com/servers/{vm_id}/reset-root-password

Header Format:

Authorization: Bearer 123456789123456789123456789123456789
Content-Type: application/json

Request Parameters:

Parameter Values Allowed Default Value Description
vm_id* <VM ID>
N/A
ID of the VM

Success Response Format:

[ { "status": "success", "msg": "Reset root password task added in queue. Check your dashboard for updates." } ]

Error Response Format:

[ { "status": "error", "msg": "VM ID does not exist." } ]

CURL Example

                curl -X POST https://api.ssdnodes.com/servers/1234/reset-root-password -H "Authorization: Bearer 123456789123456789123456789123456789"
            

Copied!