get https://apps.applozic.com/rest/ws/user/remove/group/all
Use this API to remove user from all groups.
API supported by both application admin and application user.
Warning:
API will remove User from all Private, Public and Open Groups.
Parameter Description:
Parameter | Required | Description |
---|---|---|
userId | Yes | user unique identifier |
Note:
In case of Application Bot calling the API, Of-User-Id header is required. Of-User-Id is the userId of the user on behalf of which application bot wants to leave all the groups.