removeGroupMember
Removes a user from a group.
Parameters
Name | Type | Description |
---|---|---|
groupId | Identifier | The id of the group to remove the user from. |
userId | Identifier | The id of the user to be removed. |
Example
const { data: success } = await ClassicGroupsApi.removeGroupMember({ groupId: 5850082, userId: 2655994471 });
Endpoint
DELETE /v1/groups/{groupId}/users/{userId}