delete_membership
Delete a project membership permanently; preview first and confirm to apply. Group-inherited roles remain, so direct roles only are removed.
Instructions
Delete a project membership; this cannot be undone.
Roles inherited from a group stay: if some roles come from a group, only the direct ones are removed; if all do, the call is rejected.
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": {
"membership_id": "<membership_id>"
},
"name": "delete_membership"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false: preview only, nothing changes. true: applies it; get the user's approval of the preview first. | |
| membership_id | Yes | Membership id, from list_project_memberships. |