AvantGuard - DNSFilter icon

AvantGuard - DNSFilter

AvantGuard - DNSFilter

Actions277

Overview

This node operation allows users to delete (destroy) a specific subnet within a network by providing the network ID and the subnet ID. It is useful in scenarios where network administrators need to manage their network infrastructure programmatically, such as removing obsolete or unused subnets from a network configuration.

Practical examples include:

  • Automating cleanup of network resources during decommissioning.
  • Managing dynamic network environments where subnets are frequently added and removed.
  • Integrating with infrastructure-as-code workflows to maintain network state.

Properties

Name Meaning
Id The unique identifier of the network containing the subnet to be deleted. Must be a number.
Subnet Id The unique identifier of the subnet to be destroyed within the specified network. Must be a number.

Output

The node outputs JSON data representing the result of the subnet deletion operation. Typically, this would include confirmation of successful deletion or details about the deleted subnet. If the API supports it, error messages or status codes may also be included in the output JSON.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for authentication with the AvantGuard DNSFilter service.
  • The node uses the base URL https://api.dnsfilter.com for making requests.
  • Proper network and subnet IDs must be provided to successfully perform the deletion.

Troubleshooting

  • Invalid or missing IDs: Ensure that both the Network ID and Subnet ID are correctly provided and correspond to existing resources.
  • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
  • Network connectivity issues: Confirm that the n8n instance can reach the external API endpoint.
  • API errors: Check the response JSON for error messages indicating why the deletion failed (e.g., subnet not found, insufficient permissions).

Links and References

Discussion