This API is used to delete a security group.
Before deleting a security group, ensure that the security group is not associated with any instance.
DELETE /v3/{project_id}/vpc/security-groups/{security_group_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. |
security_group_id |
Yes |
String |
Security group ID. |
None
None
Deleting a security group.
DELETE https://{Endpoint}/v3/{project_id}/vpc/security-groups/1d8b19c7-7c56-48f7-a99b-4b40eb390967
None
Status Code |
Description |
---|---|
204 |
Normal response to the DELETE operation. For more status codes, see Status Codes. |
See Error Codes.