Delete Firewall rule from a Network Security Group
Note: Only contract administrators, owners, and users with permissions to the VDC concerned can create and manage NSGs via API.
Prerequisite: You need an IONOS Cloud account with API credentials configured with the appropriate permissions.
To delete a firewall rule from a NSG, you need to use the following Cloud API DELETE
request providing the datacenterId
, securityGroupId
and ruleId
:
DELETE /datacenters/{datacenterId}/securitygroups/{securityGroupId}/rules/{ruleId}
Request
Response
202 Accepted
PreviousRetrieve Firewall rules by Network Security Group IDNextAttach a List of Security Groups to a Server or NIC
Last updated