Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS → Update Root Password

AI-generated

Overview

This node operation updates the root password of a specified VPS (Virtual Private Server) using the Hostinger API. It is useful for scenarios where the root password needs to be changed for security reasons or administrative purposes. For example, an administrator can automate the process of updating the root password across multiple VPS instances to maintain security compliance.

Use Case Examples

  1. Automate root password updates for multiple VPS instances.
  2. Change the root password as part of a security policy enforcement workflow.

Properties

Name Meaning
Virtual Machine ID The unique identifier of the VPS whose root password is to be updated.
Root Password The new root password for the VPS. It must be at least 12 characters long and include uppercase letters, lowercase letters, and numbers.

Output

JSON

  • response - The JSON response from the Hostinger API after updating the root password, containing details about the operation's success or failure.

Dependencies

  • Hostinger API with an API key credential for authentication

Troubleshooting

  • Ensure the Virtual Machine ID is correct and corresponds to an existing VPS.
  • Verify that the new root password meets the required complexity: at least 12 characters with uppercase, lowercase, and a number.
  • Check that the API credentials are valid and have sufficient permissions to update the VPS root password.
  • Common error messages may include authentication failures, invalid VM ID, or password complexity violations. Resolving these involves correcting the input parameters and verifying API access rights.

Links

Discussion