---
title: "Get SecurityGroup"
method: GET
path: "/security-groups/{id}"
tags: ["SecurityGroup"]
---

# Get SecurityGroup

`GET /security-groups/{id}`

Get SecurityGroup by id

## Path parameters

- `id` string, required

## Response `200`

OK

- ModelSecurityGroup
  - `bio` string
  - `created_at` string
  - `id` integer
  - `name` string
  - `security_rules` ModelSecurityRule[]
    - `bio` string
    - `created_at` string
    - `domain` string
    - `id` integer
    - `name` string
    - `proxy_domain` string
    - `security_groups` ModelSecurityGroup[]
    - `updated_at` string
  - `updated_at` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2021-11-29** `f61cd344dca7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/dragonflyoss/apis/dragonfly-manager/changes/security-groups/:id/get.md)

---

[API](https://skmtc.dev/dragonflyoss/apis/dragonfly-manager.md) · [All operations](https://skmtc.dev/dragonflyoss/apis/dragonfly-manager/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dragonflyoss/dragonfly-manager/revisions/f61cd344dca7/schema)
