Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS Docker Manager → Update Project

AI-generated

Overview

This node operation updates a Docker project on a specified VPS (Virtual Private Server) managed through Hostinger's API. It is useful for users who want to modify the configuration or state of an existing Docker project running on their VPS. For example, a user might update environment variables, change project settings, or apply new configurations to a Docker project without recreating it from scratch.

Use Case Examples

  1. Updating environment variables of a Docker project on a VPS.
  2. Changing the configuration of a running Docker project on a VPS.

Properties

Name Meaning
Virtual Machine ID The unique identifier of the VPS where the Docker project is hosted. This is required to specify which VPS the Docker project belongs to.
Docker Project Name The name of the Docker project to update on the specified VPS. This identifies which project will be updated.

Output

JSON

  • response - The JSON response from the Hostinger API after updating the Docker project, containing details about the updated project or status of the update operation.

Dependencies

  • Hostinger API with authentication credentials

Troubleshooting

  • Ensure the Virtual Machine ID and Docker Project Name are correctly specified and exist on the Hostinger VPS.
  • Check that the API credentials for Hostinger are valid and have permissions to update Docker projects.
  • Common errors include 'Unsupported operation' if the operation name is incorrect, or HTTP errors if the VPS or project does not exist or the request body is malformed.

Discussion