Huddle01 Cloud
Security groups

List security groups

List all security groups for the authenticated user.

GET
/security-groups
x-api-key<token>

In: header

Query Parameters

regionstring

The region code.

Default"eu2"

Response Body

application/json

application/json

application/json

curl -X GET "https://anton-api.huddle01.media/api/v1/security-groups?region=eu2"
{
  "security_groups": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "rules": [
        {
          "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",
          "updated_at": "2019-08-24T14:15:22Z"
        }
      ],
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "region": {
        "name": "eu2"
      }
    }
  ]
}
Empty
{
  "status": "HTTP_400",
  "message": "Invalid request",
  "data": {},
  "request_id": "string"
}
{
  "status": "HTTP_400",
  "message": "Invalid request",
  "data": {},
  "request_id": "string"
}