---
title: "Add User Groups"
method: POST
path: "/organizations/usergroups/add"
tags: ["User Groups"]
---

# Add User Groups

`POST /organizations/usergroups/add`

## Request

- Base URL: `https://api.velt.dev/v2`
- URL: `https://api.velt.dev/v2/organizations/usergroups/add`
- Auth: API key in header `x-velt-api-key` and API key in header `x-velt-auth-token`

Use this API to add organization user groups to a specific organization.

## Request body

- object
  - `data` object, required
    - `organizationId` string, required
    - `organizationUserGroups` object[], required
      - `groupId` string
      - `groupName` string

## Response `200`

User groups added successfully

- object

## Other responses

- `400`: Invalid request

---

[API](https://skmtc.dev/velt-js/apis/velt-rest-api.md) - [All operations](https://skmtc.dev/velt-js/apis/velt-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/velt-js/apis/velt-rest-api/revisions/0f5af15fa267?raw)
