Change password
PUT
https://api.vpsbg.eu/v1/servers/{id}/passwordUpdate the administrator password for your server. For Linux-based servers, this will change the root password and for Windows-based servers, it will change the password for the Administrator user. A reboot is required to apply the changes.
Request
Path Params
id
string
required
Body Params application/json
password
string
required
>= 6 characters
reboot
boolean
optional
Default:
false
Example
{
"password": "string",
"reboot": false
}
Request samples
Responses
The password has been updated. If selected, the server will reboot.(204)
The password has been updated. If selected, the server will reboot.
HTTP Code: 204
Content Type : JSONapplication/json
Data Schema
object {0}
Example
Not configured
Last modified: 3 months ago