All Products
Search
Document Center

Drive and Photo Service:RemoveGroupMember

Last Updated:Aug 04, 2025

Removes a member from a group.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /v2/group/remove_member HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
bodyobjectNo

The request parameters.

group_idstringYes

The ID of the group from which you want to remove a member.

3e5***2c2
member_typestringYes

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:

  • user

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_idstringYes

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

ParameterTypeDescriptionExample
The current API has no return parameters

Examples

Sample success responses

JSONformat

{}

Error codes

For a list of error codes, visit the Service error codes.