---
title: "Adds users to a users group."
method: POST
path: "/api/v1/UsersGroups/{usersGroupId}/Users"
tags: ["UsersGroups"]
---

# Adds users to a users group.

`POST /api/v1/UsersGroups/{usersGroupId}/Users`

## Path parameters

- `usersGroupId` string, uuid, required

## Headers

- `X-API-SECRET` string, required — API Secret is used to verify the integrity of the request and authenticate the client. It should be included in all requests. This value must be kept confidential and should never be exposed in client-side code or public repositories.

## Request body

- AddUsersToGroupRequestModelV1 — Request model to add users to a users group
  - `userIds` string[], required — List of the user ids being added to the users group.
  - `triggeredByUserId` string, uuid, required — Identifier of the admin user that triggered the operation.
  - `implicitlyApproveRequests` boolean — Obsolete: Will be removed, use 'Behaviour' field instead! (Old behavior: Flag that configures request creation behaviour. True = request are automatically approved. False = Normal requests are created.)
  - `behaviour` 'CreateRequests' | 'AdminAction' | 'NoOperation'

## Response `201`

Created

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/cakewalk/apis/cakewalk-open-api.md) · [All operations](https://skmtc.net/cakewalk/apis/cakewalk-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cakewalk/cakewalk-open-api/revisions/5728f183a29d/schema)
