# Create a user group

Create a user group.

Endpoint: POST /api/groups
Version: 24.9.2.5
Security: ApiKeyAuth, Bearer

## Request fields (application/json):

  - `description` (string)

  - `id` (string)

  - `members` (array)

  - `members.id` (string)

  - `members.username` (string)

  - `name` (string, required)

  - `orgId` (string)

## Response 200 fields (application/json):

  - `message` (string)
    Example: "Operation succeeded"

  - `result` (any)

  - `success` (boolean)
    Example: true

## Response 400 fields (application/json):

  - `message` (string)
    Example: "Something went wrong"

  - `result` (string)
    Example: "error"

  - `success` (boolean)

## Response 403 fields (application/json):

  - `message` (string)
    Example: "Something went wrong"

  - `result` (string)
    Example: "error"

  - `success` (boolean)

## Response 409 fields (application/json):

  - `message` (string)
    Example: "Something went wrong"

  - `result` (string)
    Example: "error"

  - `success` (boolean)

## Response 500 fields (application/json):

  - `message` (string)
    Example: "Something went wrong"

  - `result` (string)
    Example: "error"

  - `success` (boolean)


