Huddle01 Cloud
Security groups

Get security group

Get details of a specific security group.

GET
/security-groups/{id}
x-api-key<token>

In: header

Path Parameters

idstring

Query Parameters

regionstring
Default"eu2"

Response Body

application/json

application/json

application/json

curl -X GET "https://anton-api.huddle01.media/api/v1/security-groups/string?region=eu2"
{
  "security_group": {
    "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"
    }
  }
}
{
  "status": "HTTP_400",
  "message": "Invalid request",
  "data": {},
  "request_id": "string"
}
{
  "status": "HTTP_400",
  "message": "Invalid request",
  "data": {},
  "request_id": "string"
}