---
title: "Creates a new groups"
method: POST
path: "/group"
tags: ["Groups"]
---

# Creates a new groups

`POST /group`

## Request body

- Group
  - `idGroup` integer — Id group
  - `name` string, nullable — Name group
  - `icon` string, nullable — Path icon, by default: without-group@groups.svg
  - `parent` integer, nullable — Id Group parent
  - `isPropagate` boolean — Group propagate
  - `isAlertEnabled` boolean — Group is alert enabled
  - `customId` string, nullable — Custom id
  - `idSkin` integer, nullable — Id skin
  - `description` string, nullable — Description
  - `contact` string, nullable — Contact
  - `other` string, nullable — Other things
  - `password` string, nullable
  - `maxAgents` integer — Maximum number of agents per group

## Response `200`

Group object

- Group
  - `idGroup` integer — Id group
  - `name` string, nullable — Name group
  - `icon` string, nullable — Path icon, by default: without-group@groups.svg
  - `parent` integer, nullable — Id Group parent
  - `isPropagate` boolean — Group propagate
  - `isAlertEnabled` boolean — Group is alert enabled
  - `customId` string, nullable — Custom id
  - `idSkin` integer, nullable — Id skin
  - `description` string, nullable — Description
  - `contact` string, nullable — Contact
  - `other` string, nullable — Other things
  - `password` string, nullable
  - `maxAgents` integer — Maximum number of agents per group

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/pandorafms/apis/api-pandora-fms.md) · [All operations](https://skmtc.net/pandorafms/apis/api-pandora-fms/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pandorafms/api-pandora-fms/versions/f18688ffd894/schema)
