---
title: "Create Discrete Ancillary Group"
method: POST
path: "/v1/ancillaries/discrete/groups"
tags: ["ancillaries"]
---

# Create Discrete Ancillary Group

`POST /v1/ancillaries/discrete/groups`

## Request

- Base URL: `https://api.shapemaker.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.shapemaker.io/v1/ancillaries/discrete/groups`
- Auth: OAuth 2
  - Password
  - Token URL: `/v1/auth`

## Request body

- DiscreteAncillaryGroupCreateInput
  - `name` string, required
  - `discreteAncillaryIds` integer[], required

## Response `200`

Successful Response

- DiscreteAncillaryGroupView
  - `id` integer, required
  - `createdBy` string, required
  - `name` string, required
  - `kind` 'PLAIN' | 'SECTOR' | 'ELEVATION_BAND', required
  - `discreteAncillaryIds` integer[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/shapemaker/apis/shapemaker-api.md) - [All operations](https://skmtc.dev/shapemaker/apis/shapemaker-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shapemaker/apis/shapemaker-api/revisions/b8461cf1236c?raw)
