Removes a member from a group.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /v2/group/remove_member HTTP/1.1
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| body | object | No | The request parameters. | |
| group_id | string | Yes | The ID of the group from which you want to remove a member. | 3e5***2c2 |
| member_type | string | Yes | The type of the member that you want to remove from the group. Only common users can be removed. If you want to remove all members from a group, you can directly delete the group. Valid value:
Note: A group can be a member of only one group. It cannot be a member of multiple groups. A user can be a member of multiple groups. | user |
| member_id | string | Yes | The ID of the member. If member_type is set to user, set this parameter to the ID of the corresponding user. | 2e4***1b1 |
Response parameters
Examples
Sample success responses
JSONformat
{}Error codes
For a list of error codes, visit the Service error codes.
