Power Actions
Method
Power On, Power Off and Reboot
-
To power on, power off or reboot a server, navigate to the relevant server page, select Server Actions and choose Power On, Power Off, or Reboot.
-
You will be presented with a confirmation dialogue. Select Power On/Power Off/Reboot again to confirm the action.
-
Once complete, a green pop-up message will confirm the success of the action.
Get Server ID and Location ID
curl --request GET \--url https://api.ingenuitycloudservices.com/rest-api/ssd-vps/servers \--header 'Accept: application/json' \--header 'X-Api-Token: API_KEY'
Power On
curl --request POST \--url https://api.ingenuitycloudservices.com/rest-api/ssd-vps/locations/{location_id}/servers/{server_id}/power/on \--header 'Accept: application/json' \--header 'X-Api-Token: API_KEY'
Power Off
curl --request POST \--url https://api.ingenuitycloudservices.com/rest-api/ssd-vps/locations/{location_id}/servers/{server_id}/power/off \--header 'Accept: application/json' \--header 'X-Api-Token: API_KEY'
Reboot
curl --request POST \--url https://api.ingenuitycloudservices.com/rest-api/ssd-vps/locations/{location_id}/servers/{server_id}/power/reboot \--header 'Accept: application/json' \--header 'X-Api-Token: API_KEY'