Remove a Firewall Rule from a Security Group
1 min
DELETE
https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/securitygroups/{securityGroupId}/rules/{ruleId}
datacenterIdstringThe unique ID of the data center
securityGroupIdstringThe unique ID of the security group.
ruleIdstringThe unique ID of the firewall rule.
acceptstringGenerated from available response content types
202Accepted. The request has been accepted for processing.
default<p>Any erroneous status code:
400 (parse error),
401 (auth error),
402 (trial access),
403 (insufficient privileges),
404 (not found),
405 (unsupported HTTP method),
415 (unsupported content type),
422 (validation error),
429 (request rate limit exceeded),
500 (server error),
or 503 (maintenance).</p>
curl --request DELETE \
--url https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/securitygroups/{securityGroupId}/rules/{ruleId} \
--header 'accept: application/json'Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.