---
title: "POST /create-group"
method: POST
path: "/create-group"
tags: ["Groups"]
---

# POST /create-group

`POST /create-group`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/create-group`
- Auth: none declared

## Request body

- CreateGroup
  - `description` string: Description of the object
  - `group-alias` string, required: A short group alias
  - `json` boolean: Set output format to JSON
  - `name` string, required: Group name
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication
  - `user-assignment` string: A json string defining the access permission assignment for this client

## Response `200`

createGroupResponse wraps response body.

- CreateGroupOutput
  - `group_alias` string
  - `id` string
  - `name` string

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/identity-access.md) - [All operations](https://skmtc.dev/akeyless/apis/identity-access/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/identity-access/revisions/6fbc3858ec88?raw)
