Security groups
Create security group rule
Add a new rule to a security group.
x-api-key<token>
In: header
Path Parameters
idstring
Security Group ID
Query Parameters
regionstring
Default
"eu2"directionstring
Value in
"ingress" | "egress"ether_typestring
Value in
"IPv4" | "IPv6"protocol?string
Value in
"tcp" | "udp" | "icmp"port_range_min?integer
port_range_max?integer
remote_ip_prefix?string
remote_group_id?string
Response Body
application/json
application/json
curl -X POST "https://anton-api.huddle01.media/api/v1/security-groups/string/rules?region=eu2" \ -H "Content-Type: application/json" \ -d '{ "direction": "ingress", "ether_type": "IPv4" }'{
"id": "string",
"direction": "string",
"ether_type": "string",
"protocol": "string",
"port_range_min": 0,
"port_range_max": 0,
"remote_ip_prefix": "string",
"remote_group_id": "string",
"security_group_id": "string",
"created_at": "2019-08-24T14:15:22Z"
}Empty
{
"status": "HTTP_400",
"message": "Invalid request",
"data": {},
"request_id": "string"
}