Create or update a team
wflow_upsert_teamCreate or update a team and assign users in one operation. Provide team details with optional teamId to modify an existing team.
Instructions
Create a team (POST, omit id) or update it (PUT, pass teamId). Body: {name, description?, users?:[userId...]}. This is how you 'create a new team X and add these users to it'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | TeamUpdate object {name, description?, users?:[uuid...]}. | |
| teamId | No | Existing team id to update. Omit to create. | |
| organization | No |