Removes a member from a group.
Try it now
Test
RAM authorization
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.
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 |
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.