remove_member
Remove a user from a GitLab group or project. Dry run mode previews changes before execution to prevent accidental removal.
Instructions
Remove a user from a group or project. dry_run=true by default. This is destructive.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scope": "<scope>",
"id": "<id>",
"user_id": "<user_id>"
},
"name": "remove_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | 'group' or 'project' | |
| id | Yes | Group ID/path or numeric project ID | |
| user_id | Yes | Numeric user ID to remove | |
| dry_run | No | Dry run mode (default: true). When true, returns a preview of the action without executing it. Set to false only after user confirmation. |