Hostinger API icon

Hostinger API

Interact with the Hostinger API

Actions100

VPS Firewall → Firewall Rule Delete

AI-generated

Overview

This node operation deletes a specific firewall rule from a VPS firewall using the Hostinger API. It is useful for managing firewall configurations by removing outdated or unnecessary rules to maintain security and proper access control on a VPS.

Use Case Examples

  1. Deleting a firewall rule that is no longer needed to prevent unwanted traffic.
  2. Removing a misconfigured firewall rule to restore proper network access.

Properties

Name Meaning
Firewall ID The unique identifier of the firewall from which the rule will be deleted.
Rule ID The unique identifier of the firewall rule to be deleted.

Output

JSON

  • response - The API response confirming the deletion of the firewall rule.

Dependencies

  • Hostinger API authentication token

Troubleshooting

  • Ensure that the Firewall ID and Rule ID are correct and correspond to existing resources; otherwise, the API will return an error.
  • Check that the API credentials are valid and have sufficient permissions to delete firewall rules.
  • Common error messages include 'Unsupported operation' if the operation name is incorrect, or HTTP errors indicating resource not found or unauthorized access.

Links

Discussion