Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS → Restart

AI-generated

Overview

This node operation allows users to restart a Virtual Private Server (VPS) by interacting with the Hostinger API. It is useful in scenarios where a VPS needs to be rebooted remotely, such as after configuration changes, software updates, or troubleshooting. For example, a user can automate the restart of a VPS after deploying new software or applying security patches.

Use Case Examples

  1. Restarting a VPS after applying updates to ensure changes take effect.
  2. Automating VPS restarts as part of a maintenance workflow.

Properties

Name Meaning
Virtual Machine ID The unique identifier of the VPS to be restarted.

Output

JSON

  • response - The JSON response from the Hostinger API after attempting to restart the VPS, containing details about the restart operation.

Dependencies

  • Hostinger API authentication credential

Troubleshooting

  • Ensure the Virtual Machine ID is correct and corresponds to an existing VPS.
  • Check that the Hostinger API credentials are valid and have the necessary permissions to restart VPS instances.
  • Common errors include authentication failures, invalid VM IDs, or network issues. Verify API endpoint accessibility and credentials to resolve these.

Links

Discussion