# Here is a curl example
curl \
-X POST "http://localhost:8888/api/UsersAndGroups/RemoveUsersFromGroup" \
-H "Authorization: {token}" \
-H "Content-Type: application/json" \
-d '{
"user_ids": [1,2,3,4],
"group_id": "2",
}'
This method allows you to remove users from a group.
To remove users from group, you need to make a POST call to the following url:
:
http://localhost:8888/api/UsersAndGroups/RemoveUsersFromGroup
Result example :
[
{
"Success": "boolean",
"Message": "string",
"Data": object,
"CustomAction": Dictionary<object, object> ,
"CustomAttributes":Dictionary<object, object>
}
]
| Field | Parameter Type | Type | Description |
|---|---|---|---|
| user_ids | body | List<long> | List of users. You can get from another method (http://localhost:8888/api/UsersAndGroups/GetUsersAndGroups). |
| group_id | body | long | Group Id |
| Authorization | header | string | Add Authorization header token |