{
"bound": "inbound",
"protocol": "tcp",
"port": "8080",
"ip": "0.0.0.0/0",
"title": "Web Port",
"content": "웹 포트 허용",
"use": "Y"
}curl --location --request PUT 'https://api-kr.iwinv.krv1/security-groups//rules/' \
--header 'X-iwinv-Timestamp: {{timestamp}}' \
--header 'X-iwinv-Credential: {{accesskey}}' \
--header 'X-iwinv-Signature: {{signature}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"bound": "inbound",
"protocol": "tcp",
"port": "8080",
"ip": "0.0.0.0/0",
"title": "Web Port",
"content": "웹 포트 허용",
"use": "Y"
}'{
"code": "0x00",
"error_code": "SUCCESS",
"message": "",
"result": [
{
"firewall_id": "621",
"title": "APISEND20250222",
"content": "apisend",
"icmp": "Y",
"rules": [
{
"idx": 6965,
"bound": "IN",
"protocol": "TCP",
"port": "1-30",
"ip": "112.168.1.10/32",
"content": "Aport 80",
"title": "Allow HTTP"
},
{
"idx": 6966,
"bound": "OUT",
"protocol": "UDP",
"port": "530",
"ip": "10.0.0.5/16",
"content": "port 53",
"title": "Allow DNS"
}
]
}
],
"count": 1
}