sync_organization_team_memberships
Synchronize organization users with their team memberships by submitting a JSON array of user IDs and target team IDs.
Instructions
Sync org users onto linked teams (POST /organizations/team-memberships/sync).
Requires Organization API key with members:* (or admin:*).
Args: organization_id: Public org id (org_...). users_json: JSON array of {userId, teamIds[]} or {userId, destinationTeamId} entries.
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": {
"organization_id": "<organization_id>",
"users_json": "<users_json>"
},
"name": "sync_organization_team_memberships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| users_json | Yes | ||
| organization_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||