Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS Public Keys → Delete Public Key

AI-generated

Overview

This node interacts with the Hostinger API to delete a VPS public key. It is useful for managing SSH keys associated with virtual private servers (VPS) hosted on Hostinger, allowing users to remove public keys that are no longer needed or compromised.

Use Case Examples

  1. Deleting an old or compromised SSH public key from a VPS to enhance security.
  2. Automating the removal of public keys when decommissioning or reconfiguring VPS instances.

Properties

Name Meaning
Public Key ID The unique identifier of the public key to be deleted from the VPS.

Output

JSON

  • response - The response from the Hostinger API after attempting to delete the public key.

Dependencies

  • Hostinger API authentication credential

Troubleshooting

  • Ensure the Public Key ID is correct and exists; otherwise, the API will return an error indicating the key was not found.
  • Check that the Hostinger API credentials are valid and have the necessary permissions to delete public keys.
  • Network issues or API downtime can cause request failures; verify connectivity and API status if errors occur.

Links

Discussion