All Products
Search
Document Center

Drive and Photo Service:RemoveGroupMember

Last Updated:May 26, 2026

Removes a member from a group.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /v2/group/remove_member HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

domain_id

string

Yes

The domain ID.

body

object

No

Request body parameters.

group_id

string

Yes

The ID of the group to remove the member from.

3e5***2c2

member_type

string

Yes

The member type. This operation only removes users. To remove a member that is a group, delete the group instead.

  • user

Note: A group can be a member of only one other group. A user can be a member of multiple groups.

user

member_id

string

Yes

The member ID. If member_type is user, this is the userID.

2e4***1b1

Response elements

Element

Type

Description

Example

None defined.

Examples

Success response

JSON format

{}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.