API: "reset root password" method change request
The reset root password api method send by email the new droplet root password to the digitalocean client email. If you are reselling digital ocean vps your client have no way to know the root password. The "reset root password" should return the new root password instead of just an sucessful answer.
Nathan Rodríguez commented
The ssh key option is more secure but most of the vps client never used one. Clients want it as simple as possible thats why i think both option should be added.
The API ssh-key integration should be ready this week, then we can see if the API reset_password gets up-voted.
I do agree that reset_password via API sending an email isn't really intuitive, will just have to see how much extra work it is to completely pass that through the API.
I would suggest that you also add that function the the creation of a droplet using the API. It would be nice to have the returned response contain the root password and not have to wait , parse an email for it. I want to automate the creation and now I have to search my emails. However, once you implement assigning an SSH Key in the API, then I will just do that and never need the password.
Thats a great suggestion, we are going to discuss that internally and see if we should update that for the API call.