---
title: "Add Users to User Groups"
method: POST
path: "/api/v2/UserGroups/{userGroupGuid}/addUsers"
tags: ["UserGroups"]
---

# Add Users to User Groups

`POST /api/v2/UserGroups/{userGroupGuid}/addUsers`

Add one or more users to an existing user group using the following endpoint: 

 > `POST /api/v2/UserGroups/{userGroupGuid}/addUsers` 

 Replace `{userGroupGuid}` with the `userGroupGuid` value of the user group you want to add users to. You can get the `userGroupGuid` for a user group from the User Groups section under Settings in the FortiCNAPP platform. 

 In the request body, specify the users to add to the group as an array of user IDs. 

 Here is an example body payload: 

 `{"userGuids": ["some_user_id"]}` 

 See [Add Standard Users to a User Group](https://docs.fortinet.com/document/forticnapp/latest/administration-guide/626065/manage-access-at-account-level#add-standard-users-to-a-user-group) for more information.

## Path parameters

- `userGroupGuid` string, required

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Request body

- UserGroupsRelationsRequestSchema
  - `userGuids` string[], required

## Response `200`

No Error

- object
  - `data` UserGroupsAddUsersResponseSchema
    - `userGuids` string[], required
    - `userGroupGuid` string, required

## Other responses

- `4XX` — Client Error
- `5XX` — Internal Server Error

---

[API](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation.md) · [All operations](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lacework/forticnapp-api-2-0-documentation/revisions/7015f76895f2/schema)
