Delete a Security Group
1 min
DELETE
https://api.ionos.com/cloudapi/v6/datacenters/{datacenterId}/securitygroups/{securityGroupId}
datacenterIdstringThe unique ID of the data center.
securityGroupIdstringThe unique ID of the Security Group.
prettyboolean<p>Controls whether the response is pretty-printed (with indentations and new lines).</p>
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}?pretty=true' \
--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.