v1

latestOpenAPI 3.0.3FortiCNAPP Use License2026-08-041754351.1 MB
UserGroups

Remove Users from User Groups

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"]}

post/api/v2/UserGroups/{userGroupGuid}/removeUsers

Path parameters

userGroupGuidstring required

User Group ID

Headers

Authorizationstring required

Bearer Access Token. For example, "Bearer {YourAPIToken}"

Content-Typestring required

application/json

Request body

userGuidsstring[] required

Response

Success