Remove member from group
DELETE/v1/groups/:groupId/users/:userId
Removes an active member from the group.
- If called by an Admin: Acts as "Kicking" the user.
- If called by the User themselves (via 'me' alias): Acts as "Leaving" the group.
- A Primary user can remove a Secondary user from the group. He can also remove other Primary users from the group.
- The last remaining Primary user cannot be removed; the group must always have at least one Primary. Use remove node from group instead.
Request
Responses
- 200
- 403
- 404
- 409
Member successfully removed
You do not have permission to remove this member
Member not found in this group
Cannot remove the last primary user from the group