Update a team member's access
update_membershipEdit a membership: change allowed groups (groupIds / allGroups) and/or toggle needsPostApproval. Owner-only. Only the fields you pass change; passing only needsPostApproval leaves the group grant untouched.
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": {
"membershipId": "<membershipId>"
},
"name": "update_membership"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupIds | No | New list of allowed account-group _ids | |
| allGroups | No | Grant/revoke access to all groups | |
| membershipId | Yes | The membership's _id (see list_members) | |
| needsPostApproval | No | Whether this member's posts need owner approval |