---
ai:
  exclude: true
search:
  tags:
    - group
    - POST
seo:
  description: >-
    Creates a group by given group parameter. Reference for the POST
    /api/2/group endpoint in the Jira Software Data Center REST API Reference.
sidebar:
  label: Create a group with given parameters
  badge: POST
title: Create a group with given parameters
type: openapi-operation
---
Creates a group by given group parameter

`POST /api/2/group`

**Request body** (`application/json`)

- `name` (string)

Request body example:

```json
{
  "name": "string"
}
```

**Responses**

- `201` — Returns full representation of a Jira group in JSON format.
- `400` — Returned if user requested an empty group name or group already exists
- `401` — Returned if the current user is not authenticated.
- `403` — Returned if the current user does not have administrator permissions.

Response example, 201:

```json
{
  "name": "jira-administrators",
  "self": "http://www.example.com/jira/rest/api/2/group?groupname=jira-administrators",
  "users": {
    "backingListSize": 0,
    "callback": {},
    "items": [],
    "maxResults": 50,
    "pagingCallback": {},
    "size": 50
  }
}
```
