Retrieve Firewall rules by Network Security Group ID
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 retrieve the firewall rules by Network Security Group ID, you need to use one of the following Cloud APIGET request using the datacenterId and securityGroupId:
GET /datacenters/{datacenterId}/securitygroups/{securityGroupId}/rules
GET /datacenters/{datacenterId}/securitygroups/{securityGroupId}/rules/{ruleId}