Security groups
List security groups
List all security groups for the workspace (excludes the default security group).
Authorization
ApiKeyAuth X-API-Key<token>
API key for authentication. Generate from the Huddle01 Cloud dashboard.
In: header
Query Parameters
region*string
Region code (e.g., eu2, us1)
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://cloud.huddleapis.com/api/v1/security-groups?region=string"{
"security_groups": [
{
"id": "string",
"name": "string",
"description": "string",
"rules": [
{
"id": "string",
"direction": "ingress",
"ether_type": "IPv4",
"protocol": "tcp",
"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",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"region": {
"name": "eu2"
}
}
]
}{
"success": false,
"error": "Invalid request"
}{
"success": false,
"error": "Invalid request"
}{
"success": false,
"error": "Invalid request"
}