---
title: "List groups"
method: GET
path: "/v1beta/dns/nameservers/groups"
tags: ["NsGroupService"]
---

# List groups

`GET /v1beta/dns/nameservers/groups`

## Query parameters

- `limit` integer
- `offset` integer
- `order_by.ns_group` string
- `order_by.domain_count` string
- `order_by.ns_count` string
- `with_domain_count` boolean
- `with_ns_count` boolean
- `ns_group_pattern` string
- `ns_name_pattern` string
- `ns_ip_pattern` string

## Response `200`

A successful response.

- NsGroupListGroupsResponse
  - `code` integer
  - `data` NsGroupListGroupsResponseData
    - `results` NsGroupGroup[]
      - `domain_count` integer
      - `id` integer
      - `name_servers` NsGroupNameServersSet[]
        - `id` integer
        - `ip` string
        - `ip6` string
        - `name` string
        - `seq_nr` integer
      - `ns_count` integer
      - `ns_group` string
    - `total` integer
  - `desc` string
  - `maintenance` boolean
  - `warnings` ErrorWarning[]
    - `code` integer
    - `data` string
    - `desc` string

## Other responses

- `default` — (empty)

---

[API](https://skmtc.net/openprovider/apis/rest-api.md) · [All operations](https://skmtc.net/openprovider/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openprovider/rest-api/revisions/55b7a0062507/schema)
