---
title: "Remove Users from User Groups"
method: POST
path: "/api/v2/UserGroups/{userGroupGuid}/removeUsers"
tags: ["UserGroups"]
---

# Remove Users from User Groups

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

Remove one or more users from a user group using the following endpoint: 

 > `POST /api/v2/UserGroups/{userGroupGuid}/removeUsers`. 

 Replace `{userGroupGuid}` with the `userGroupGuid` value of the user group you details to remove users from. 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 remove from the group as an array of user IDs. 

 Here is an example body payload: 

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

## Path parameters

- `userGroupGuid` string, required

## Headers

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

## Request body

- UserGroupsRelationsRequestSchema
  - `userGuids` string[], required

## Response `204`

Success

## 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)
