Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS Snapshots → Delete Snapshot

AI-generated

Overview

This node operation allows users to delete a VPS snapshot by specifying the virtual machine ID. It is useful for managing VPS snapshots by removing outdated or unnecessary snapshots to free up storage or maintain organization.

Use Case Examples

  1. Deleting a snapshot of a specific VPS to free up space or remove an obsolete backup.
  2. Automating snapshot cleanup in a VPS management workflow.

Properties

Name Meaning
Virtual Machine ID The unique identifier of the virtual machine whose snapshot is to be deleted.

Output

JSON

  • response - The response from the Hostinger API after attempting to delete the VPS snapshot.

Dependencies

  • Hostinger API credential for authentication

Troubleshooting

  • Ensure the Virtual Machine ID is correct and the snapshot exists; otherwise, the API call will fail.
  • Check that the Hostinger API credentials are valid and have the necessary permissions to delete snapshots.
  • Common error messages include 'Unsupported operation' if the operation name is incorrect, or HTTP errors if the snapshot or VM ID is invalid.

Discussion