---
title: "Create group"
method: POST
path: "/v1beta/dns/nameservers/groups"
tags: ["NsGroupService"]
---

# Create group

`POST /v1beta/dns/nameservers/groups`

## Request body

- NsGroupCreateGroupRequest
  - `name_servers` NsGroupNameServersSet[]
    - `id` integer
    - `ip` string
    - `ip6` string
    - `name` string
    - `seq_nr` integer
  - `ns_group` string — Plain text name of the nameserver group, which can consist of several nameservers with attached IPs. Once created in Openprovider reseller account, nameserver group can be reused for operations with domains.

## Response `200`

A successful response.

- NsGroupCreateGroupResponse
  - `code` integer
  - `data` NsGroupGroupBoolResponseData
    - `success` boolean
  - `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)
