Server Action
Pre Release: Subject to changes
This request enables you to turn on, turn off and restart your server, and also to change the server password.
Use Case
You can use this specific call to turn on, turn off and restart your server, and also change the password. You can provide this functionality to user (user -> your backend -> zesty) and for your administrative needs at your admin dashboard, such as suspending users by shutting down their server if they have missed their payment deadline.
Example
POST https://zestystore.com/api/reseller/v1/server/{server_id}/action
Path Parameters
Name
Type
Description
server_id*
Integer
Request Body
Name
Type
Description
action_type*
String
shut_down , turn_on , restart , password_change
{
// Response
}{
"password" : "string"
}Attribute
Attribute Name
Description
password
String. Contains the new password.
Last updated