Actions34
- LAN Actions
- NIC Actions
- Firewall Rule Actions
- IP Block Actions
- NAT Gateway Actions
- NAT Gateway Rule Actions
- Flow Log Actions
Firewall Rule → Delete
AI-generatedSummary
Delete a firewall rule from a NIC in an IONOS datacenter.
Inputs
- datacenterId (required) — The unique ID of the datacenter
- serverId (required) — The unique ID of the server
- nicId (required) — The unique ID of the NIC
- firewallRuleId (required) — The unique ID of the firewall rule
Output shape
an object indicating success, typically { success: true }
The operation returns a success flag; no payload is returned on error except when continueOnFail is enabled.
Examples
Example 1: Remove an existing firewall rule
Set datacenterId, serverId, nicId, firewallRuleId then trigger Delete operation.
Example 2: Bulk delete via workflow loop
Iterate over a list of firewall rule IDs, passing each ID as the firewallRuleId parameter.
Example 3: Delete after creating a rule and confirming its ID
Create rule → capture firewallRuleId → subsequently call Delete with that ID.